Notes mobile fix #1398
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: End-to-end Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
install-cypress: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: checkout | |
id: checkout | |
uses: actions/checkout@v3 | |
- name: Install Cypress | |
id: install-cypress | |
uses: cypress-io/github-action@v6 | |
with: | |
runTests: false | |
build: yarn build-share | |
- name: Save build artifacts | |
id: build-artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: build | |
if-no-files-found: error | |
path: docs/ | |
run-cypress-on-linux: | |
runs-on: ubuntu-20.04 | |
needs: install-cypress | |
steps: | |
- name: checkout | |
id: checkout | |
uses: actions/checkout@v3 | |
- name: Restore build artifacts | |
id: restore-artifacts | |
uses: actions/download-artifact@v3 | |
with: | |
name: build | |
path: docs/ | |
- name: E2E Tests on Google Chrome | |
id: e2e-on-google-chrome | |
uses: cypress-io/github-action@v6 | |
with: | |
browser: chrome | |
start: node config/serve.js |