CI: fix test run #16
Workflow file for this run
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
# Run tests | |
on: | |
push: | |
branches-ignore: | |
- "master" | |
name: CI | |
jobs: | |
test: | |
name: run tests | |
strategy: | |
matrix: | |
node: ["20.x"] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: "npm" | |
- name: Install dependencies | |
run: npm install | |
- name: Run build | |
run: npm run build | |
- name: Run tests x | |
run: npx playwright install-deps webkit | |
- name: Run tests | |
run: npx playwright install && npm run test:ci |