put lint and build back as separate jobs

This commit is contained in:
Keith Williams 2023-12-23 09:51:31 -05:00
parent d19316d656
commit 625f638bff

View File

@ -7,20 +7,19 @@ on:
- main
jobs:
lint-build:
name: Lint & Build
runs-on: buildjet-4vcpu-ubuntu-2204
permissions:
pull-requests: read
steps:
- uses: ./.github/workflows/lint.yml
name: Linters
- uses: ./.github/workflows/production-build.yml
name: Production build
lint:
name: Linters
uses: ./.github/workflows/lint.yml
secrets: inherit
build:
name: Production build
uses: ./.github/workflows/production-build.yml
secrets: inherit
e2e:
name: E2E tests
needs: [lint-build]
needs: [lint, build]
uses: ./.github/workflows/e2e.yml
secrets: inherit