Skip to content

Upgrade Cypress Github Action #117

Upgrade Cypress Github Action

Upgrade Cypress Github Action #117

Workflow file for this run

name: build
on:
push:
branches:
- "*"
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
# Install the Node version specified in the project `.node-version` file
- uses: nodenv/actions/node-version@v2.0.9
id: nodenv
- uses: actions/setup-node@v1
with:
node-version: "${{ steps.nodenv.outputs.node-version }}"
# Yarn will also have been installed by actions/setup-node@v1
- run: yarn install --immutable
- run: yarn checkFormatting
- run: yarn workspace shared build
- run: yarn workspace server build
- run: yarn workspace client build
# Fix version so that it doesn't advance over time unless we want it to
- uses: cypress-io/github-action@v6.7.1
with:
start: yarn workspace integration start
wait-on: "http://localhost:5000"
command: yarn workspace tests start