Skip to content

Commit 9a6eee3

Browse files
committed
chore: update workflow config.
1 parent bff1838 commit 9a6eee3

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@ on:
66
jobs:
77
build:
88
runs-on: ubuntu-latest
9+
permissions:
10+
contents: write
11+
id-token: write
912
env:
1013
NODE_OPTIONS: --max_old_space_size=8192
1114
steps:
1215
- uses: actions/checkout@v3
1316
- uses: actions/setup-node@v3
1417
with:
15-
node-version: 16
18+
node-version: 18
1619
registry-url: 'https://registry.npmjs.org'
1720

1821
- run: npm install
@@ -59,14 +62,14 @@ jobs:
5962
body: |
6063
[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@uiw/react-monacoeditor@${{steps.create_tag.outputs.versionNumber}}/file/README.md)
6164
62-
Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/jaywcjlove/react-monacoeditor/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
65+
Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/uiwjs/react-monacoeditor/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
6366
Comparing Changes: ${{ steps.changelog.outputs.compareurl }}
6467
6568
${{ steps.changelog.outputs.changelog }}
6669
6770
- run: git status
6871

69-
- run: npm publish --access public
72+
- run: npm publish --access public --provenance
7073
name: 📦 @uiw/react-monacoeditor publish to NPM
7174
continue-on-error: true
7275
working-directory: core

.github/workflows/pull_requests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v3
1111
- uses: actions/setup-node@v3
1212
with:
13-
node-version: 16
13+
node-version: 18
1414

1515
- run: npm install
1616
- run: npm run build

0 commit comments

Comments
 (0)