Update npm-publish.yml

This commit is contained in:
Sambo Chea 2022-05-17 09:31:55 +07:00 committed by GitHub
parent 40bcbbf5ea
commit da5660004e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,8 +15,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm test
- run: yarn build
publish-npm:
needs: build
@ -27,7 +26,6 @@ jobs:
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}