2022-07-15 13:53:21 +00:00
|
|
|
name: Build
|
2022-05-16 14:23:44 +00:00
|
|
|
on:
|
2022-12-09 12:28:29 +00:00
|
|
|
pull_request: {}
|
|
|
|
push:
|
|
|
|
branches: [master]
|
2022-05-16 14:23:44 +00:00
|
|
|
# develop pushes and repository_dispatch handled in build_develop.yaml
|
|
|
|
env:
|
2022-12-09 12:28:29 +00:00
|
|
|
# These must be set for fetchdep.sh to get the right branch
|
|
|
|
REPOSITORY: ${{ github.repository }}
|
|
|
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
2022-05-16 14:23:44 +00:00
|
|
|
jobs:
|
2022-12-09 12:28:29 +00:00
|
|
|
build:
|
|
|
|
name: "Build"
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-09-05 17:31:32 +00:00
|
|
|
- uses: actions/checkout@v4
|
2022-05-16 14:23:44 +00:00
|
|
|
|
2022-12-09 12:28:29 +00:00
|
|
|
- uses: actions/setup-node@v3
|
|
|
|
with:
|
|
|
|
cache: "yarn"
|
2022-05-16 14:23:44 +00:00
|
|
|
|
2022-12-09 12:28:29 +00:00
|
|
|
- name: Install Dependencies
|
|
|
|
run: "./scripts/layered.sh"
|
2022-05-16 14:23:44 +00:00
|
|
|
|
2022-12-09 12:28:29 +00:00
|
|
|
- name: Build
|
|
|
|
run: "yarn build"
|