Skip to content

Commit b9bcbcc

Browse files
committed
Update npm-publish.yml
1 parent 002efdf commit b9bcbcc

1 file changed

Lines changed: 4 additions & 17 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,8 @@ on:
88
types: [created]
99

1010
jobs:
11-
build:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- name: Checkout
15-
uses: actions/checkout@v4
16-
17-
- name: Setup Node
18-
uses: actions/setup-node@v4
19-
with:
20-
node-version: latest
21-
check-latest: true
22-
23-
- run: npm i
24-
- run: cd test && npm i
25-
- run: node --run build
26-
2711
publish-npm:
28-
needs: build
12+
#needs: build
2913
runs-on: ubuntu-latest
3014
steps:
3115
- uses: actions/checkout@v4
@@ -34,6 +18,9 @@ jobs:
3418
node-version: latest
3519
check-latest: true
3620
registry-url: https://registry.npmjs.org/
21+
22+
- run: npm i
23+
- run: cd test && npm i
3724
- run: npm publish
3825
env:
3926
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)