Install Chrome only #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will run tests on push or PRs | |
name: CI | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .node-version | |
- run: npm ci | |
- name: Install Playwright Browsers | |
run: npx playwright install chromium --with-deps | |
- run: npm run lint | |
- run: npm run test:ci | |
- run: npm run test:browser:ci | |
- run: npm run build | |
- name: Run Playwright tests | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 |