File tree Expand file tree Collapse file tree 2 files changed +17
-11
lines changed Expand file tree Collapse file tree 2 files changed +17
-11
lines changed Original file line number Diff line number Diff line change 55 secrets :
66 E2B_API_KEY :
77 required : true
8- NPM_TOKEN :
9- required : true
108 PYPI_TOKEN :
119 required : true
1210
1311permissions :
12+ id-token : write
1413 contents : write
1514
1615jobs :
@@ -46,17 +45,23 @@ jobs:
4645 with :
4746 version : 9.5
4847
49- - name : Setup Node.js 20
50- uses : actions/setup-node@v3
48+ - name : Setup Node.js 22
49+ uses : actions/setup-node@v6
5150 with :
52- node-version : ' 20.x'
51+ node-version : " 22.x"
52+ registry-url : " https://registry.npmjs.org"
5353 cache : pnpm
5454
5555 - name : Configure pnpm
5656 run : |
5757 pnpm config set auto-install-peers true
5858 pnpm config set exclude-links-from-lockfile true
5959
60+ - name : Update npm
61+ run : |
62+ npm install -g npm@^11.6
63+ npm --version
64+
6065 - name : Install dependencies
6166 run : pnpm install --frozen-lockfile
6267
8489 createGithubReleases : true
8590 env :
8691 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
87- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
8892 PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
93+ NPM_TOKEN : " " # See https://github.com/changesets/changesets/issues/1152#issuecomment-3190884868
8994
9095 - name : Update lock file
9196 run : pnpm i --no-link --no-frozen-lockfile
Original file line number Diff line number Diff line change 88concurrency : ${{ github.workflow }}-${{ github.ref }}
99
1010permissions :
11+ id-token : write
1112 contents : write
1213
1314jobs :
@@ -27,10 +28,10 @@ jobs:
2728 version : 9.5
2829
2930 - name : Setup Node
30- uses : actions/setup-node@v3
31+ uses : actions/setup-node@v6
3132 with :
32- node-version : ' 20.x '
33- registry-url : ' https://registry.npmjs.org'
33+ node-version : " 22.x "
34+ registry-url : " https://registry.npmjs.org"
3435 cache : pnpm
3536 cache-dependency-path : pnpm-lock.yaml
3637
6768 version : 9.5
6869
6970 - name : Setup Node
70- uses : actions/setup-node@v3
71+ uses : actions/setup-node@v6
7172 with :
72- node-version : ' 20 .x'
73+ node-version : ' 22 .x'
7374 registry-url : ' https://registry.npmjs.org'
7475 cache : pnpm
7576 cache-dependency-path : pnpm-lock.yaml
You can’t perform that action at this time.
0 commit comments