File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 - uses : actions/setup-node@v4
2727 with :
2828 cache : ' pnpm'
29- node-version : 18 .x
29+ node-version : 22 .x
3030
3131 # Wireit cache
3232 - uses : google/wireit@setup-github-actions-caching/v2
Original file line number Diff line number Diff line change 2121 runs-on : ubuntu-latest
2222 strategy :
2323 matrix :
24- node-version : [18 .x]
24+ node-version : [22 .x]
2525 create-type : ['tsx', 'onepage']
2626 steps :
2727 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change 88jobs :
99 release :
1010 runs-on : ubuntu-latest
11+ environment : Production
1112 permissions :
1213 contents : write
1314 id-token : write
2021 steps :
2122 - uses : actions/checkout@v4
2223 with :
24+ token : ${{ secrets.GITHUB_TOKEN }}
2325 fetch-depth : 0
2426
2527 - uses : pnpm/action-setup@v3
2931 - uses : actions/setup-node@v4
3032 with :
3133 cache : ' pnpm'
32- node-version : 18.x
34+ node-version : 22.x
35+
36+ - name : Upgrade npm for OIDC
37+ run : npm i -g npm@^11.5.1
38+
39+ - name : Set npm registry for OIDC
40+ run : npm config set registry https://registry.npmjs.org
3341
3442 - name : Install dependencies
3543 run : pnpm install
4856 publish : pnpm changeset publish
4957 env :
5058 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
51- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1- 18 .x
1+ 22 .x
You can’t perform that action at this time.
0 commit comments