Skip to content

Commit 293f545

Browse files
committed
use a frozen lockfile during pnpm install
1 parent 6ee1397 commit 293f545

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
run: rustup target add wasm32-wasip1-threads
8989

9090
- name: Install dependencies
91-
run: pnpm install
91+
run: pnpm install --frozen-lockfile
9292

9393
- name: Build
9494
run: pnpm run build

.github/workflows/prepare-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146
run: rustup target add ${{ matrix.target }}
147147

148148
- name: Install dependencies
149-
run: pnpm install --ignore-scripts --filter=!./playgrounds/*
149+
run: pnpm install --ignore-scripts --frozen-lockfile --filter=!./playgrounds/*
150150

151151
- name: Build release
152152
run: pnpm run --filter ${{ env.OXIDE_LOCATION }} build:platform --target=${{ matrix.target }} ${{ matrix.build-flags }}
@@ -204,7 +204,7 @@ jobs:
204204
chmod +x rustup-init
205205
./rustup-init -y --profile minimal
206206
source "$HOME/.cargo/env"
207-
pnpm install --ignore-scripts --filter=!./playgrounds/* || true
207+
pnpm install --ignore-scripts --frozen-lockfile --filter=!./playgrounds/* || true
208208
echo "~~~~ rustc --version ~~~~"
209209
rustc --version
210210
echo "~~~~ node -v ~~~~"
@@ -289,7 +289,7 @@ jobs:
289289
run: rustup target add wasm32-wasip1-threads
290290

291291
- name: Install dependencies
292-
run: pnpm --filter=!./playgrounds/* install
292+
run: pnpm --filter=!./playgrounds/* install --frozen-lockfile
293293

294294
- name: Download artifacts
295295
uses: actions/download-artifact@v7

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150
run: rustup target add ${{ matrix.target }}
151151

152152
- name: Install dependencies
153-
run: pnpm install --ignore-scripts --filter=!./playgrounds/*
153+
run: pnpm install --ignore-scripts --frozen-lockfile --filter=!./playgrounds/*
154154

155155
- name: Build release
156156
run: pnpm run --filter ${{ env.OXIDE_LOCATION }} build:platform --target=${{ matrix.target }} ${{ matrix.build-flags }}
@@ -214,7 +214,7 @@ jobs:
214214
node -v
215215
echo "~~~~ pnpm --version ~~~~"
216216
pnpm --version
217-
pnpm install --ignore-scripts --filter=!./playgrounds/* || true
217+
pnpm install --ignore-scripts --frozen-lockfile --filter=!./playgrounds/* || true
218218
pnpm run --filter ${{ env.OXIDE_LOCATION }} build:platform
219219
strip -x ${{ env.OXIDE_LOCATION }}/*.node
220220
ls -la ${{ env.OXIDE_LOCATION }}
@@ -307,7 +307,7 @@ jobs:
307307
run: rustup target add wasm32-wasip1-threads
308308

309309
- name: Install dependencies
310-
run: pnpm --filter=!./playgrounds/* install
310+
run: pnpm --filter=!./playgrounds/* install --frozen-lockfile
311311

312312
- name: Download artifacts
313313
uses: actions/download-artifact@v7

0 commit comments

Comments
 (0)