chore: publish [email protected] #4
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: Cypress tests | |
on: [push, pull_request] | |
jobs: | |
cypress-run: | |
name: Cypress 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, 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 | |
- uses: mansagroup/nrwl-nx-action@v3 | |
with: | |
parallel: 1 | |
targets: e2e |