Skip to content

Commit cd7eeef

Browse files
committed
ci: fix pnpm install
1 parent f940d6f commit cd7eeef

File tree

2 files changed

+32
-8
lines changed

2 files changed

+32
-8
lines changed

.github/workflows/build-and-deploy.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ jobs:
1818
- uses: pnpm/action-setup@v4
1919
name: Install pnpm
2020
with:
21-
run_install: true
21+
run_install: false
22+
23+
- name: install
24+
run: pnpm install --frozen-lockfile
2225

2326
- name: Build 🔧
2427
run: pnpm build
@@ -38,7 +41,10 @@ jobs:
3841
- uses: pnpm/action-setup@v4
3942
name: Install pnpm
4043
with:
41-
run_install: true
44+
run_install: false
45+
46+
- name: install
47+
run: pnpm install --frozen-lockfile
4248

4349
- name: test
4450
run: pnpm test -- --watch=false --browsers=ChromeHeadless

.github/workflows/verify-build.yml

+24-6
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ jobs:
1717
- uses: pnpm/action-setup@v4
1818
name: Install pnpm
1919
with:
20-
run_install: true
20+
run_install: false
21+
22+
- name: install
23+
run: pnpm install --frozen-lockfile
2124

2225
- name: build
2326
run: pnpm build
@@ -33,7 +36,10 @@ jobs:
3336
- uses: pnpm/action-setup@v4
3437
name: Install pnpm
3538
with:
36-
run_install: true
39+
run_install: false
40+
41+
- name: install
42+
run: pnpm install --frozen-lockfile
3743

3844
- name: lint
3945
run: pnpm lint
@@ -49,7 +55,10 @@ jobs:
4955
- uses: pnpm/action-setup@v4
5056
name: Install pnpm
5157
with:
52-
run_install: true
58+
run_install: false
59+
60+
- name: install
61+
run: pnpm install --frozen-lockfile
5362

5463
- name: test
5564
run: pnpm test -- --watch=false --browsers=ChromeHeadless
@@ -70,7 +79,10 @@ jobs:
7079
- uses: pnpm/action-setup@v4
7180
name: Install pnpm
7281
with:
73-
run_install: true
82+
run_install: false
83+
84+
- name: install
85+
run: pnpm install --frozen-lockfile
7486

7587
- name: test
7688
run: pnpm test -- --watch=false --browsers=FirefoxHeadless
@@ -86,7 +98,10 @@ jobs:
8698
- uses: pnpm/action-setup@v4
8799
name: Install pnpm
88100
with:
89-
run_install: true
101+
run_install: false
102+
103+
- name: install
104+
run: pnpm install --frozen-lockfile
90105

91106
- name: test
92107
run: pnpm test -- --watch=false --browsers=SafariNative
@@ -102,7 +117,10 @@ jobs:
102117
- uses: pnpm/action-setup@v4
103118
name: Install pnpm
104119
with:
105-
run_install: true
120+
run_install: false
121+
122+
- name: install
123+
run: pnpm install --frozen-lockfile
106124

107125
- name: prettier
108126
run: npx prettier . --check

0 commit comments

Comments
 (0)