Skip to content

Commit 3986b8b

Browse files
authored
chore: enforce frozen lockfile in CI (#895)
1 parent b00281a commit 3986b8b

6 files changed

Lines changed: 13013 additions & 8 deletions

File tree

.github/workflows/ci-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Setup pnpm
3737
uses: pnpm/action-setup@v4
3838
with:
39-
version: 8
39+
version: 10
4040
run_install: false
4141

4242
- name: Setup Node.js
@@ -50,7 +50,7 @@ jobs:
5050

5151
- name: Install dependencies
5252
working-directory: website
53-
run: pnpm install
53+
run: pnpm install --frozen-lockfile
5454

5555
- name: Build website
5656
working-directory: website

.github/workflows/deploy-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
- uses: pnpm/action-setup@v4
3434
with:
35-
version: 8
35+
version: 10
3636
run_install: false
3737

3838
- uses: actions/setup-node@v4
@@ -45,7 +45,7 @@ jobs:
4545

4646
- name: Install Dependencies
4747
working-directory: website
48-
run: pnpm install
48+
run: pnpm install --frozen-lockfile
4949

5050
- name: Build
5151
working-directory: website

.github/workflows/preview-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- uses: pnpm/action-setup@v4
3232
with:
33-
version: 8
33+
version: 10
3434
run_install: false
3535

3636
- uses: actions/setup-node@v4
@@ -43,7 +43,7 @@ jobs:
4343

4444
- name: Install Dependencies
4545
working-directory: website
46-
run: pnpm install
46+
run: pnpm install --frozen-lockfile
4747

4848
- name: Build
4949
working-directory: website

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ website/pnpm-error.log*
3939
website/.yarnrc
4040
website/yarn.lock
4141
website/package-lock.json
42-
website/pnpm-lock.yaml
4342

4443
# fuzzing
4544
**/.cifuzz-corpus/

website/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "website",
33
"version": "1.0.0",
44
"private": true,
5+
"packageManager": "pnpm@10.21.0",
56
"scripts": {
67
"docusaurus": "docusaurus",
78
"start": "docusaurus start",
@@ -51,4 +52,4 @@
5152
"engines": {
5253
"node": ">=18.0"
5354
}
54-
}
55+
}

0 commit comments

Comments
 (0)