Skip to content

Commit ba300eb

Browse files
committed
feat(workflow): update workflow
1 parent 77b5118 commit ba300eb

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/npm-publish.yml

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

1010
jobs:
11-
build:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v4
15-
- uses: actions/setup-node@v4
16-
with:
17-
node-version: 20
18-
- run: npm ci
19-
- run: npm test
11+
# build:
12+
# runs-on: ubuntu-latest
13+
# steps:
14+
# - uses: actions/checkout@v4
15+
# - uses: actions/setup-node@v4
16+
# with:
17+
# node-version: 20
18+
# - run: npm ci
19+
# - run: npm test
2020

2121
publish-npm:
22-
needs: build
22+
# needs: build
2323
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@v4
@@ -28,6 +28,6 @@ jobs:
2828
node-version: 20
2929
registry-url: https://registry.npmjs.org/
3030
- run: npm ci
31-
- run: npm publish
31+
- run: npm publish --provenance --access public
3232
env:
3333
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)