Skip to content

Commit

Permalink
ci: Build packages before ci steps
Browse files Browse the repository at this point in the history
  • Loading branch information
spuxx-dev committed Jul 29, 2024
1 parent ed8fc15 commit 83aecae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,21 @@ jobs:
install_deps:
name: Install dependencies
uses: spuxx1701/ci-cd/.github/workflows/[email protected]
with:
PNPM_FLAGS: --recursive

run_checks:
name: Run code checks
uses: spuxx1701/ci-cd/.github/workflows/[email protected]
needs:
- install_deps
with:
PNPM_BUILD: true

run_unit_tests:
name: Run unit tests
uses: spuxx1701/ci-cd/.github/workflows/[email protected]
needs:
- install_deps
with:
PNPM_BUILD: true
COVERAGE_FILENAME: reports/vitest/coverage/cobertura-coverage.xml
COVERAGE_FAIL_BELOW_MIN: 100

0 comments on commit 83aecae

Please sign in to comment.