Skip to content

Commit 151b482

Browse files
committed
fix: update pnpm version to 10 and set Node version to 22; enforce frozen lockfile during dependency installation
1 parent 899b6c3 commit 151b482

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ jobs:
3636
- name: Setup pnpm
3737
uses: pnpm/action-setup@v2
3838
with:
39-
version: 8
39+
version: 10
4040

4141
- name: Setup Node
4242
uses: actions/setup-node@v4
4343
with:
44-
node-version: lts/*
44+
node-version: 22
4545

4646
- name: Install Rust stable
4747
uses: dtolnay/rust-toolchain@stable
@@ -50,13 +50,13 @@ jobs:
5050
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
5151

5252
- name: Install frontend dependencies
53-
run: pnpm install
53+
run: pnpm install --frozen-lockfile
5454

5555
- name: Build bridge (Windows)
5656
if: matrix.platform == 'windows-latest'
5757
run: |
5858
cd bridge
59-
pnpm install --frozen-lockfile=false
59+
pnpm install --frozen-lockfile
6060
npx esbuild src/index.ts --bundle --platform=node --outfile=dist/index.cjs --format=cjs --packages=external
6161
cd ..
6262
node ./bridge/scripts/copy-native.js
@@ -67,7 +67,7 @@ jobs:
6767
if: matrix.platform == 'ubuntu-22.04'
6868
run: |
6969
cd bridge
70-
pnpm install --frozen-lockfile=false
70+
pnpm install --frozen-lockfile
7171
npx esbuild src/index.ts --bundle --platform=node --outfile=dist/index.cjs --format=cjs --packages=external
7272
cd ..
7373
node ./bridge/scripts/copy-native.js

0 commit comments

Comments
 (0)