Skip to content

use reusable jobs in main ci #104

use reusable jobs in main ci

use reusable jobs in main ci #104

Workflow file for this run

name: "CI Check for main Branch"
on:
push:
branches:
- main
jobs:
build:
uses: ./.github/workflows/reusable/ci.build.yml

Check failure on line 10 in .github/workflows/ci.main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.main.yml

Invalid workflow file

invalid value workflow reference: workflows must be defined at the top level of the .github/workflows/ directory
with:
node-version: "20"
os: "ubuntu-latest"
test-coverage:
needs: build
uses: ./.github/workflows/reusable/ci.test-coverage.yml
with:
node-version: "20"
os: "ubuntu-latest"
lint:
needs: build
uses: ./.github/workflows/reusable/ci.lint.yml
with:
node-version: "20"
os: "ubuntu-latest"
misc:
needs: build
uses: ./.github/workflows/reusable/ci.misc.yml
with:
node-version: "20"
os: "ubuntu-latest"
test-e2e:
needs: build
uses: ./.github/workflows/reusable/ci.test-e2e.yml
with:
node-version: "20"
os: "ubuntu-latest"