Skip to content

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vannvan authored Oct 29, 2023
1 parent 2ade66c commit a0b7c4a
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@ jobs:
# node-version: 16
# - run: npm i

publish-npm:
# needs: install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: pnpm install
- run: pnpm run tsc
- run: pnpm publish -r --dry-run
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_WORKFLOW}}
# publish-npm:
# # needs: install
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: pnpm/action-setup@v2
# with:
# node-version: 16
# registry-url: https://registry.npmjs.org/
# - run: pnpm install
# - run: pnpm run tsc
# - run: pnpm publish -r --dry-run
# env:
# NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_WORKFLOW}}



Expand Down

0 comments on commit a0b7c4a

Please sign in to comment.