Skip to content

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
VPKSoft committed Oct 1, 2023
1 parent 981a77c commit 2abbf7a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm lint
- run: npm build
- run: npm test
- run: npm run lint
- run: npm run build
- run: npm run test

publish-npm:
needs: build
Expand All @@ -29,9 +29,7 @@ jobs:
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm lint
- run: npm build
- run: npm test
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 2abbf7a

Please sign in to comment.