chore(deps): update dependency fetch-mock to v11.1.4 #2090
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
name: Automated tests | |
on: [push] | |
env: | |
CI: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/[email protected] | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: latest | |
- uses: actions/[email protected] | |
with: | |
cache: pnpm | |
node-version: 20 | |
- name: Install | |
run: pnpm install | |
- name: Build | |
run: pnpm build | |
- name: Lint | |
run: |- | |
pnpm eslint src "*.js" "*.ts" | |
pnpm prettier --check src "*.js" "*.ts" | |
- name: Install Playwright | |
run: npx playwright install --with-deps | |
- name: Run tests (Chrome) | |
run: pnpm test -- --forbid-only | |
- name: Run tests (Firefox) | |
run: pnpm test -- --browser firefox | |
- name: Run tests (WebKit) | |
run: pnpm test -- --browser webkit |