Merge pull request #1259 from nickcastel50/conway_adapter #2750
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 (cypress) | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
cypress-run: | |
runs-on: ubuntu-22.04 | |
environment: cypress | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- run: yarn install | |
- run: yarn cy-build | |
# Ensure your build script correctly outputs to the ./docs directory | |
env: | |
NODE_ENV: production | |
SHARE_CONFIG: cypress | |
- uses: cypress-io/github-action@v5 | |
with: | |
browser: chrome | |
command: yarn cy |