Skip to content

Commit

Permalink
Fix publish GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
applicazza committed Jun 21, 2021
1 parent 992fb58 commit 9bf9624
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
scope: '@applicazza'
- id: find-yarn-cache-folder
name: Find Yarn's cache folder
run: echo "::set-output name=path::$(yarn config get cacheFolder)"
Expand All @@ -23,7 +18,13 @@ jobs:
restore-keys: |
yarn-cache-folder-os-${{ runner.os }}-node-${{ env.node-version }}-
yarn-cache-folder-os-${{ runner.os }}-
- uses: actions/setup-node@v2
with:
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
scope: '@applicazza'
- run: yarn
- run: yarn config set npmAuthToken ${{ secrets.NPM_TOKEN }}
- run: yarn npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 9bf9624

Please sign in to comment.