Skip to content

Commit 8ef3aeb

Browse files
update to pnpm v10 (#1849)
Co-authored-by: Atila Fassina <[email protected]>
1 parent f83526c commit 8ef3aeb

File tree

7 files changed

+350
-627
lines changed

7 files changed

+350
-627
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
- name: Install project dependencies
2626
run: pnpm i
2727

28+
- name: Install Cypress binary
29+
run: pnpm exec cypress install
30+
2831
- name: Build SolidStart
2932
run: pnpm --filter @solidjs/start build
3033

@@ -34,27 +37,21 @@ jobs:
3437
- name: Run unit tests
3538
run: pnpm --filter tests unit:ci
3639

37-
- name: Install Cypress dependencies
38-
uses: cypress-io/github-action@v6
39-
with:
40-
working-directory: .
41-
runTests: false
42-
4340
- name: E2E Chromium
4441
uses: cypress-io/github-action@v6
4542
with:
43+
project: ./packages/tests
4644
install: false
47-
working-directory: packages/tests
48-
start: pnpm start --host 127.0.0.1 --port 3000
45+
start: pnpm --filter tests start --host 127.0.0.1 --port 3000
4946
wait-on: 'http://127.0.0.1:3000'
5047
browser: chromium
5148

5249
- name: E2E Firefox
5350
uses: cypress-io/github-action@v6
5451
with:
52+
project: ./packages/tests
5553
install: false
56-
working-directory: packages/tests
57-
start: pnpm start --host 127.0.0.1 --port 3000
54+
start: pnpm --filter tests start --host 127.0.0.1 --port 3000
5855
wait-on: 'http://127.0.0.1:3000'
5956
browser: firefox
6057

examples/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
"build": "pnpm --filter './*' --if-present build",
77
"clean": "pnpx rimraf ./*/node_modules/ ./*/.vinxi/ ./*/.output/",
88
"use-workspace-package": "node ./use-workspace-package-in-examples.js"
9-
}
9+
},
10+
"packageManager": "[email protected]"
1011
}

0 commit comments

Comments
 (0)