Skip to content

build: use branch build for all branches #126

build: use branch build for all branches

build: use branch build for all branches #126

Workflow file for this run

name: GitHub Actions CI (Branch)
on:
pull_request:
branches-ignore:
- '**'
push:
branches-ignore:
- main
- 'stage/**'
# TODO: what version of node are we getting and why? rush.json? actions default?
# TODO: what jobs should be broken out into reusiable workflows?
# https://docs.github.com/en/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow
jobs:
install:
uses: ./.github/workflows/install.yml
build:
needs: install
uses: ./.github/workflows/build.yml
lint:
needs: [install, build]
uses: ./.github/workflows/lint.yml
with:
ENVIRONMENT: ${{ vars.ENVIRONMENT }}
secrets: inherit
unit-test:
needs: [install, build]
uses: ./.github/workflows/unit-test.yml
with:
ENVIRONMENT: ${{ vars.ENVIRONMENT }}
secrets: inherit
e2e-test:
needs: [install, build]
uses: ./.github/workflows/e2e-test.yml
with:
ENVIRONMENT: ${{ vars.ENVIRONMENT }}
secrets: inherit