Replace playwright request with node fetch ployfill to support playwr… #204
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: Run tests | |
on: [ push ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Node.js 19 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 19 | |
cache: npm | |
cache-dependency-path: ./server/package-lock.json | |
- name: Install dependencies | |
run: npm ci | |
working-directory: ./server | |
- name: Install dependencies | |
run: npx playwright install | |
working-directory: ./server | |
- name: Run Tests | |
run: npm run test | |
working-directory: ./server |