Skip to content

Commit a97546b

Browse files
authored
Merge pull request #236 from UserOfficeProject/debug-npm-auth
Upgrade Lerna to v9 and migrate npm publishing to Trusted Publishing
2 parents 8c52b68 + 3f7b280 commit a97546b

22 files changed

Lines changed: 5775 additions & 23830 deletions

.github/workflows/npm-publish.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,28 @@ on:
77
push:
88
branches: [master]
99

10+
permissions:
11+
id-token: write
12+
contents: read
13+
1014
env:
11-
NODE_VERSION: 18.x
15+
NODE_VERSION: 24.x
1216

1317
jobs:
1418
publish-npm:
1519
runs-on: ubuntu-latest
20+
1621
steps:
1722
- uses: actions/checkout@v4
23+
1824
- uses: actions/setup-node@v4
1925
with:
2026
node-version: ${{ env.NODE_VERSION }}
2127
registry-url: https://registry.npmjs.org/
28+
2229
- run: npm ci
30+
2331
- run: npm run lerna:build
32+
2433
- run: npm run lerna:publish
25-
env:
26-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
34+

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
branches: [master]
77

88
env:
9-
NODE_VERSION: 18.x
9+
NODE_VERSION: 24.x
1010

1111
jobs:
1212
test:

0 commit comments

Comments
 (0)