Skip to content

Commit

Permalink
fix(npm-publish): update workflow config yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
panjizhi committed Jun 16, 2023
1 parent 09b16e0 commit 09564c7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 14
- run: npm install
- run: npm test

Expand All @@ -25,10 +25,10 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
always-auth: 'true'
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 09564c7

Please sign in to comment.