Skip to content
This repository was archived by the owner on Jun 25, 2023. It is now read-only.

Commit bc09daa

Browse files
authored
Update npm-publish.yml
1 parent 6b16524 commit bc09daa

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/npm-publish.yml

+1-11
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,7 @@ on:
88
types: [created]
99

1010
jobs:
11-
build:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v3
15-
- uses: actions/setup-node@v3
16-
with:
17-
node-version: 16
18-
- run: npm ci
19-
- run: npm run build
2011
publish-npm:
21-
needs: build
2212
runs-on: ubuntu-latest
2313
steps:
2414
- uses: actions/checkout@v3
@@ -28,6 +18,6 @@ jobs:
2818
registry-url: https://registry.npmjs.org/
2919
- run: npm ci
3020
- run: npm run build
31-
- run: npm publish
21+
- run: npm publish --access=public
3222
env:
3323
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)