Skip to content

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
Switch to yarn
  • Loading branch information
HriBB authored Aug 5, 2022
1 parent a1f3f9e commit 64bae7d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm test
- run: yarn
- run: yarn test

publish-npm:
needs: build
Expand All @@ -27,7 +27,7 @@ jobs:
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
- run: yarn
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 64bae7d

Please sign in to comment.