File tree Expand file tree Collapse file tree 2 files changed +19
-7
lines changed
Expand file tree Collapse file tree 2 files changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ jobs:
1818 ref : ${{ github.event_name == 'pull_request_target' && format('refs/pull/{0}/merge', github.event.number) || '' }}
1919 persist-credentials : false
2020
21- - name : Setup pnpm
22- uses : pnpm/action-setup@v4
21+ - name : Setup environment
22+ run : corepack enable
2323
24- - name : Setup Node.js 22 .x
24+ - name : Setup Node.js 24 .x
2525 uses : actions/setup-node@v4
2626 with :
27- node-version : 22 .x
27+ node-version : 24 .x
2828 cache : ' pnpm'
2929
3030 - name : Install dependencies
Original file line number Diff line number Diff line change 3232 - name : Setup Node.js
3333 uses : actions/setup-node@v6
3434 with :
35- node-version : 22 .x
35+ node-version : 24 .x
3636 cache : ' pnpm'
3737
3838 - name : Install dependencies
6767 - name : Setup Node.js
6868 uses : actions/setup-node@v6
6969 with :
70- node-version : 22 .x
70+ node-version : 24 .x
7171 registry-url : ' https://registry.npmjs.org'
7272
7373 - name : Generate dev version
@@ -106,12 +106,24 @@ jobs:
106106 with :
107107 name : dist
108108 path : dist/
109+
110+ - name : Setup environment
111+ run : corepack enable
109112
110113 - name : Setup Node.js
111114 uses : actions/setup-node@v6
112115 with :
113- node-version : 22 .x
116+ node-version : 24 .x
114117 registry-url : ' https://registry.npmjs.org'
118+ cache : ' pnpm'
119+
120+ - name : Update npm for trusted publishing
121+ run : npm install -g npm@11.6.0
122+
123+ - name : 🔧 Configure registries
124+ run : |
125+ pnpm config set registry https://registry.npmjs.org
126+ npm config set registry https://registry.npmjs.org
115127
116128 - name : Configure git
117129 run : |
You can’t perform that action at this time.
0 commit comments