Merge pull request #2404 from joelanman/main #3945
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: 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 |