3.0.0 The Large Glass #182
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] | |
jobs: | |
cypress-run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' # or the version defined in your project's engines field in package.json | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Install Yarn | |
run: corepack prepare [email protected] --activate | |
- name: Install dependencies | |
run: yarn install | |
- name: Cypress | |
uses: cypress-io/[email protected] | |
with: | |
build: yarn build | |
start: yarn serve | |
wait-on: http://localhost:4444 |