Skip to content

Commit d72e3d9

Browse files
committedSep 22, 2023
ci: update workflows config.
1 parent 1774f45 commit d72e3d9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎.github/workflows/ci.marster.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
@@ -93,7 +96,7 @@ jobs:
9396
path: core/package.json
9497
unset: scripts,devDependencies
9598

96-
- run: npm publish
99+
- run: npm publish --access public --provenance
97100
name: 📦 @uiw/react-markdown-preview publish to NPM
98101
continue-on-error: true
99102
working-directory: core

0 commit comments

Comments
 (0)
Please sign in to comment.