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