Skip to content

Commit 02b4de6

Browse files
committed
ci: fix the command error
1 parent 8ef308b commit 02b4de6

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types: [published]
66

77
jobs:
8-
build:
8+
publish:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
@@ -15,17 +15,7 @@ jobs:
1515
- run: npm i -g pnpm@8
1616
- run: pnpm i
1717
- run: pnpm build --filter=node-network-devtools
18-
19-
publish-npm:
20-
needs: build
21-
runs-on: ubuntu-latest
22-
steps:
23-
- uses: actions/checkout@v4
24-
- uses: actions/setup-node@v3
25-
with:
26-
node-version: 20
27-
registry-url: https://registry.npmjs.org/
2818
- run: cd packages/network-debugger
29-
- run: npm publish --ignore-scripts
19+
- run: npm publish --access public
3020
env:
3121
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)