Skip to content

Commit 07f1686

Browse files
authored
Fix ci (#351)
fix ci
1 parent b2d94bd commit 07f1686

File tree

3 files changed

+2925
-2362
lines changed

3 files changed

+2925
-2362
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,23 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v4
15+
1516
- uses: pnpm/action-setup@v4 # respects packageManager in package.json
17+
1618
- uses: actions/setup-node@v4
1719
with:
1820
cache: 'pnpm'
21+
1922
- run: pnpm install
23+
env:
24+
CI: true
25+
2026
- run: pnpm build
2127
- run: pnpm test:format
2228
- run: pnpm playwright install --with-deps
2329
- run: pnpm test || exit 1
30+
2431
- name: Upload test results
25-
if: always()
2632
uses: actions/upload-artifact@v4
2733
with:
2834
name: playwright-report

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"test": "playwright test"
1313
},
1414
"devDependencies": {
15-
"@playwright/test": "1.41.1",
15+
"@playwright/test": "1.51.0",
1616
"husky": "^8.0.1",
1717
"lint-staged": "15.2.0",
1818
"prettier": "2.7.1",

0 commit comments

Comments
 (0)