Run eslint:recommended
when committing (#787)
#77
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: Build the app and run Playwright Tests | |
on: [push, pull_request] | |
jobs: | |
build_and_test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install dependencies | |
run: npm install -g yarn && yarn | |
- name: Install Playwright Browsers | |
run: yarn playwright install --with-deps | |
- name: Build app | |
run: yarn build | |
- name: Run Playwright tests | |
run: yarn test |