This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
Merge pull request #55 from schoenbergerb/schoenbergerb-patch-1 #20
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: "functional and visual test" | |
on: | |
push: | |
branches: | |
- '*' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v2 | |
- name: setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '20' | |
registry-url: https://npm.pkg.github.com | |
- name: install dependencies | |
run: npm install | |
- name: build | |
run: npm run build | |
- name: Install playwright browsers | |
run: npx playwright install --with-deps | |
- name: Run tests | |
run: npx playwright test --update-snapshots --reporter=list |