Skip to content

Commit

Permalink
run playwright install first in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin committed Sep 13, 2024
1 parent a26ffb2 commit 00b2208
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ jobs:
node-version: lts/*
- name: Install dependencies
run: npm install -g pnpm && pnpm install
- name: Install Playwright browsers
run: pnpm run install-playwright
- name: Run Playwright tests
run: pnpm e2e
run: pnpm run e2e
# - uses: actions/upload-artifact@v4
# if: always()
# with:
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
"version": "0.0.0.0",
"private": true,
"devDependencies": {
"prettier": "3.3.3"
"prettier": "3.3.3",
"@playwright/test": "1.47.0"
},
"scripts": {
"prettier:check": "prettier --check .",
"prettier:fix": "prettier --write .",
"postinstall": "pnpm --filter builder build",
"install-playwright": "playwright install --with-deps",
"e2e": "pnpm -r e2e"
}
}
21 changes: 12 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 00b2208

Please sign in to comment.