Skip to content

build: prefix branch build steps #120

build: prefix branch build steps

build: prefix branch build steps #120

Workflow file for this run

name: GitHub Actions CI (Branch)
on:
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:
branch-install:
uses: ./.github/workflows/install.yml
branch-build:
needs: install

Check failure on line 19 in .github/workflows/branch.yml

View workflow run for this annotation

GitHub Actions / GitHub Actions CI (Branch)

Invalid workflow file

The workflow is not valid. .github/workflows/branch.yml (Line: 19, Col: 12): Job 'branch-build' depends on unknown job 'install'. .github/workflows/branch.yml (Line: 23, Col: 13): Job 'branch-lint' depends on unknown job 'install'.
uses: ./.github/workflows/build.yml
branch-lint:
needs: [install, build]
uses: ./.github/workflows/lint.yml
with:
ENVIRONMENT: ${{ vars.ENVIRONMENT }}
secrets: inherit
branch-unit-test:
needs: [install, build]
uses: ./.github/workflows/unit-test.yml
with:
ENVIRONMENT: ${{ vars.ENVIRONMENT }}
secrets: inherit
branch-e2e-test:
needs: [install, build]
uses: ./.github/workflows/e2e-test.yml
with:
ENVIRONMENT: ${{ vars.ENVIRONMENT }}
secrets: inherit