Skip to content

Commit 06c01f2

Browse files
committed
ci: update workflows config.
1 parent f9c6e3a commit 06c01f2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@ env:
1212
jobs:
1313
build-deploy:
1414
runs-on: ubuntu-latest
15+
permissions:
16+
contents: write
17+
id-token: write
1518
steps:
1619
- uses: actions/checkout@v3
1720
- uses: actions/setup-node@v3
1821
with:
19-
node-version: 16
22+
node-version: 18
2023
registry-url: 'https://registry.npmjs.org'
2124

2225
# - name: Cache dependencies
@@ -101,7 +104,7 @@ jobs:
101104

102105
# - run: npm install @jsdevtools/npm-publish -g
103106
# - run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json
104-
- run: npm publish --access public
107+
- run: npm publish --access public --provenance
105108
name: 📦 hotkeys-js to NPM
106109
continue-on-error: true
107110
env:

0 commit comments

Comments
 (0)