Skip to content

Change PAT secret

Change PAT secret #146

Workflow file for this run

name: End-to-end tests
on: [push]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Cache root dependencies
id: root-cache
uses: actions/cache@v3
with:
path: ./node_modules
key: modules-${{ hashFiles('package-lock.json') }}
- name: Install root dependencies
if: steps.root-cache.outputs.cache-hit != 'true'
run: npm ci --ignore-scripts
- name: Cache example dependencies
id: example-cache
uses: actions/cache@v3
with:
path: example/node_modules
key: modules-${{ hashFiles('example/package-lock.json') }}
- name: Install example dependencies
if: steps.example-cache.outputs.cache-hit != 'true'
run: cd example; npm ci --ignore-scripts
- name: Build project
run: npm run build
- name: Cypress run
uses: cypress-io/github-action@v4
with:
browser: chrome
start: npm run ci:start-example
wait-on: 'http://localhost:3000'