Skip to content

Eve dev

Eve dev #1

Workflow file for this run

name: Cypress Tests
on: [push, pull_request]
jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: npm ci
- name: Cache Cypress binary
uses: actions/cache@v2
with:
path: ~/.cache/Cypress
key: cypress-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
cypress-${{ runner.os }}-
- name: Run Cypress tests
uses: cypress-io/github-action@v2
with:
config-file: cypress.config.js
env:
CYPRESS_CACHE_FOLDER: ~/.cache/Cypress
- name: Save state
run: echo "STATE_NAME=state_value" >> $GITHUB_STATE
- name: Set output
run: echo "OUTPUT_NAME=output_value" >> $GITHUB_OUTPUT