Skip to content

Commit fac67af

Browse files
committed
chore:
1 parent b6fc914 commit fac67af

File tree

2 files changed

+19
-7
lines changed

2 files changed

+19
-7
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/release.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
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
@@ -67,7 +67,7 @@ jobs:
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: |

0 commit comments

Comments
 (0)