test: Can't ignore workflows files if we want to debug them! #39
Workflow file for this run
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: Cypress Tests | |
'on': | |
push: | |
paths-ignore: | |
- '**/*.md' | |
# - '.github/workflows/*.yml' | |
jobs: | |
cypress-run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
# Install firebase emulators | |
- run: npm install -g firebase-tools | |
# Install NPM dependencies, cache them correctly | |
# and run all Cypress tests | |
- name: Cypress run | |
uses: cypress-io/[email protected] # use the explicit version number | |
env: | |
DEBUG: '@cypress/github-action' # Turn on debug logs for troubleshooting | |
with: | |
# Wait for the emulator UI to be available (indicates emulators fully loaded) | |
# and for the page to be available on the hosting emulator. | |
wait-on: 'http://localhost:4000, http://localhost:5000' | |
build: 'npm run build:tests' | |
start: npm run emulators:tests |