We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c88a320 commit 59799ccCopy full SHA for 59799cc
.github/workflows/publish.yml
@@ -9,11 +9,25 @@ jobs:
9
runs-on: ubuntu-latest
10
steps:
11
- uses: actions/checkout@v1
12
+
13
- uses: actions/setup-node@v1
14
with:
15
node-version: 12
16
registry-url: https://registry.npmjs.org/
- - run: yarn install
17
18
+ - name: get yarn cache
19
+ id: yarn-cache
20
+ run: echo "::set-output name=dir::$(yarn cache dir)"
21
22
+ - uses: actions/cache@v1
23
+ with:
24
+ path: ${{ steps.yarn-cache.outputs.dir }}
25
+ key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
26
+ restore-keys: |
27
+ ${{ runner.os }}-yarn-
28
29
+ - run: yarn install --skip-integrity-check --non-interactive --no-progress
30
31
- run: npm publish --access public
32
env:
33
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
0 commit comments