Skip to content

Merge pull request #2385 from alphagov/bug-fixes #3932

Merge pull request #2385 from alphagov/bug-fixes

Merge pull request #2385 from alphagov/bug-fixes #3932

Workflow file for this run

name: Tests (Heroku)
on:
push:
branches:
- main
- support/*
pull_request:
jobs:
test-heroku:
name: Test kit on Heroku
runs-on: ubuntu-latest
env:
CYPRESS_CACHE_FOLDER: ~/.cache/Cypress
steps:
- uses: actions/checkout@v3
- name: Use Node v18
uses: actions/setup-node@v3
with:
cache: 'npm'
node-version: '20'
- name: Cache Cypress binary
uses: actions/cache@v3
with:
path: ~/.cache/Cypress
key: cypress-${{ runner.os }}-cypress-${{ hashFiles('**/package.json') }}
- run: npm ci
- run: npm run test:heroku