Skip to content

Commit 874ad5b

Browse files
committed
ci(github): update secrets config
1 parent 8c294f4 commit 874ad5b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
branches: [ master ]
1212
# release:
1313
# types: [created]
14+
env:
15+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
16+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1417

1518
jobs:
1619
build:
@@ -33,7 +36,4 @@ jobs:
3336
node-version: 16
3437
registry-url: https://registry.npmjs.org/
3538
- run: npm ci
36-
- run: npm run release
37-
env:
38-
GH_TOKEN: ${{secrets.GH_TOKEN}}
39-
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
39+
- run: npm run release

0 commit comments

Comments
 (0)