updating demo link #9
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
name: Playwright tests | |
on: [push, pull_request] | |
jobs: | |
playwright-run: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
# the actual items in the array do not matter, | |
# just the number - to force CI to sping 3 copies | |
# of the current job in parallel | |
machines: [1] | |
# machines: [1, 2, 3, 4, 5, 6] | |
steps: | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
# We need to fetch all branches and commits so that Nx affected has a base to compare against. | |
fetch-depth: 0 | |
- name: Install dependencies | |
uses: cypress-io/github-action@v5 | |
with: | |
# just perform install | |
runTests: false | |
- name: Install Playwright | |
run: npx playwright install chromium --with-deps | |
- uses: mansagroup/nrwl-nx-action@v3 | |
with: | |
targets: e2e-playwright | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 |