Skip to content

Check experimental website #169

Check experimental website

Check experimental website #169

name: Check experimental website
on:
workflow_dispatch:
schedule:
# https://crontab.guru/#0_7_*_*_1-5
- cron: "0 7 * * 1-5"
jobs:
run:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18.18.2"
- name: Restore node modules
uses: actions/cache@v4
id: restore-dependencies
with:
path: node_modules
key: ${{ runner.os }}-cache-node-modules-${{ hashFiles('**/package-lock.json') }}
- name: Cache Cypress installation
uses: actions/cache@v4
id: restore-cypress
with:
path: ~/.cache/Cypress
key: ${{ runner.os }}-cache-cypress-${{ hashFiles('**/package-lock.json') }}
- run: npm ci
if: steps.restore-dependencies.outputs.cache-hit != 'true'
- name: Cypress run for experimental website
uses: cypress-io/github-action@v6
env:
CYPRESS_RUN: GH_ACTION
with:
browser: chrome
spec: cypress/e2e/extra/*