-
Notifications
You must be signed in to change notification settings - Fork 5
33 lines (30 loc) · 987 Bytes
/
build.yml
File metadata and controls
33 lines (30 loc) · 987 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: build
on:
push:
branches:
- "*"
workflow_dispatch:
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 --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
with:
install: false
start: yarn workspace integration start
wait-on: "http://localhost:5000"
command: yarn workspace tests start