Skip to content

Commit 6eb166f

Browse files
committed
ci: update workflows config.
1 parent d5b21f0 commit 6eb166f

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
@@ -9,11 +9,14 @@ on:
99
jobs:
1010
build-deploy:
1111
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
id-token: write
1215
steps:
1316
- uses: actions/checkout@v3
1417
- uses: actions/setup-node@v3
1518
with:
16-
node-version: 16
19+
node-version: 18
1720
registry-url: 'https://registry.npmjs.org'
1821

1922
- run: npm install
@@ -78,7 +81,7 @@ jobs:
7881
7982
Bundle Example: https://uiwjs.github.io/react-split/bundle.html
8083
81-
- run: npm publish --access public
84+
- run: npm publish --access public --provenance
8285
name: 📦 @uiw/react-split publish to NPM
8386
continue-on-error: true
8487
working-directory: core

0 commit comments

Comments
 (0)