Skip to content

Update build.yml

Update build.yml #124

Workflow file for this run

name: build
on:
push:
branches:
- "*"
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
# Install the Node version specified in the project `.node-version` file
- uses: nodenv/actions/node-version@v3
id: nodenv
- uses: actions/setup-node@v4
with:
node-version: "${{ steps.nodenv.outputs.node-version }}"
# # Yarn will also have been installed by actions/setup-node@v1
# - run: yarn install
# - 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
with:
start: yarn workspace integration start
wait-on: "http://localhost:5000"
command: yarn workspace tests start