Skip to content

Commit f4cb945

Browse files
committed
ci: update workflows config.
1 parent 11c73a4 commit f4cb945

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
@@ -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
- run: npm install
@@ -106,7 +109,7 @@ jobs:
106109
path: ./core/package.json
107110
unset: scripts,jest,devDependencies
108111

109-
- run: npm publish
112+
- run: npm publish --access public --provenance
110113
name: 📦 @uiw/react-md-editor publish to NPM
111114
working-directory: core
112115
continue-on-error: true

0 commit comments

Comments
 (0)