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 9bf9624 commit 232a6de
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,13 @@ jobs:
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
- name: Install
run: yarn
- name: Set npm auth token
run: yarn config set npmAuthToken ${{ secrets.NPM_TOKEN }}
- name: Build
run: yarn build
- name: Publish
run: yarn npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 232a6de

Please sign in to comment.