Add contributor test #93
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: Run Cypress tests | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup npm cache | |
uses: actions/cache@v4 | |
with: | |
path: '~/.npm' | |
key: ${{ runner.os }}-node | |
restore-keys: | | |
${{ runner.os }}-node | |
- name: Install Cypress | |
run: | | |
npm install [email protected] | |
./node_modules/.bin/cypress install | |
- name: Run Cypress | |
run: | | |
./node_modules/.bin/cypress run |