Skip to content

Commit 0202f5f

Browse files
committed
ci: update workflows config.
1 parent 0599b6b commit 0202f5f

2 files changed

Lines changed: 8 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
env:
1313
NODE_OPTIONS: --max_old_space_size=8192
1414
steps:
15-
- uses: actions/checkout@v4
16-
- uses: actions/setup-node@v4
15+
- uses: actions/checkout@v6
16+
- uses: actions/setup-node@v6
1717
with:
18-
node-version: 20
18+
node-version: 24
1919
registry-url: 'https://registry.npmjs.org'
2020

2121
- run: npm install
@@ -69,10 +69,8 @@ jobs:
6969
7070
- run: git status
7171

72-
- run: npm publish --access public --provenance
72+
- run: NODE_AUTH_TOKEN="" npm publish --access public --provenance
7373
name: 📦 @uiw/react-monacoeditor publish to NPM
7474
continue-on-error: true
7575
working-directory: core
76-
env:
77-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7876

.github/workflows/pull_requests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ jobs:
77
build-uiw:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v4
11-
- uses: actions/setup-node@v4
10+
- uses: actions/checkout@v6
11+
- uses: actions/setup-node@v6
1212
with:
13-
node-version: 20
13+
node-version: 24
14+
registry-url: 'https://registry.npmjs.org'
1415

1516
- run: npm install
1617
- run: npm run build

0 commit comments

Comments
 (0)