Skip to content

Commit

Permalink
ci: fix the command error
Browse files Browse the repository at this point in the history
  • Loading branch information
GrinZero committed Jun 20, 2024
1 parent 8ef308b commit 02b4de6
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [published]

jobs:
build:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -15,17 +15,7 @@ jobs:
- run: npm i -g pnpm@8
- run: pnpm i
- run: pnpm build --filter=node-network-devtools

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: cd packages/network-debugger
- run: npm publish --ignore-scripts
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 02b4de6

Please sign in to comment.