Skip to content

Commit 93cc0a4

Browse files
committed
fix: failing website tests in GH action
1 parent 4aa80e0 commit 93cc0a4

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

.github/workflows/website-tests.yaml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ on:
44
push:
55
branches: [master]
66
paths:
7-
- 'website/**'
8-
- '.github/workflows/website-tests.yaml'
7+
- "website/**"
8+
- ".github/workflows/website-tests.yaml"
99
pull_request:
1010
branches: [master]
1111
paths:
12-
- 'website/**'
13-
- '.github/workflows/website-tests.yaml'
12+
- "website/**"
13+
- ".github/workflows/website-tests.yaml"
1414

1515
jobs:
1616
test:
@@ -24,18 +24,23 @@ jobs:
2424
- name: Checkout
2525
uses: actions/checkout@v4
2626

27+
- name: Setup pnpm
28+
uses: pnpm/action-setup@v4
29+
with:
30+
version: latest
31+
2732
- name: Setup Node.js
2833
uses: actions/setup-node@v4
2934
with:
30-
node-version: '24'
31-
cache: 'npm'
32-
cache-dependency-path: website/package-lock.json
35+
node-version: "24"
36+
cache: "pnpm"
37+
cache-dependency-path: website/pnpm-lock.yaml
3338

3439
- name: Install dependencies
35-
run: npm ci --legacy-peer-deps
40+
run: pnpm install --frozen-lockfile
3641

3742
- name: Run tests with coverage
38-
run: npm run test:coverage
43+
run: pnpm run test:coverage
3944

4045
- name: Upload coverage to Coveralls
4146
uses: coverallsapp/github-action@v2

0 commit comments

Comments
 (0)