Fix nonexistent catalog crash #107
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 e2e tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Running e2e tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Node.js for use with actions | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: Checkout branch | |
uses: actions/checkout@v3 | |
- name: Install wasm-pack | |
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | |
- name: Yarn install | |
working-directory: ./site | |
run: | | |
yarn install --frozen-lockfile | |
- name: Run tests | |
working-directory: ./site | |
env: | |
TERM: dumb | |
run: | | |
yarn test:serve & | |
until $(curl --silent --fail http://localhost:8080/summer2021 | grep QuACS --silent); do printf '.'; sleep 1; done | |
yarn test:e2e:headless |