Skip to content

Commit 65665e8

Browse files
committed
ci: update workflows config.
1 parent 78d8180 commit 65665e8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@ on:
77
jobs:
88
build-deploy:
99
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
12+
id-token: write
1013
steps:
1114
- uses: actions/checkout@v3
1215
- uses: actions/setup-node@v3
1316
with:
14-
node-version: 16
17+
node-version: 18
1518
registry-url: 'https://registry.npmjs.org'
1619

1720
- name: Generate Contributors Images
@@ -127,7 +130,7 @@ jobs:
127130
user_name: github-actions[bot]
128131
user_email: github-actions[bot]@users.noreply.github.com
129132

130-
- run: npm publish
133+
- run: npm publish --access public --provenance
131134
continue-on-error: true
132135
name: 📦 linux-command publish to NPM
133136
env:

0 commit comments

Comments
 (0)