ci: Increase readability of CI pipelines #134
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main Pipeline | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
run_checks: | |
name: Run code checks | |
uses: spuxx1701/ci-cd/.github/workflows/pnpm_run_checks.yml@v4.0.0 | |
with: | |
PNPM_BUILD: true | |
run_unit_tests: | |
name: Run tests (vitest) | |
uses: spuxx1701/ci-cd/.github/workflows/pnpm_run_tests_vitest.yml@v4.0.0 | |
with: | |
PNPM_BUILD: true | |
run_release_please: | |
name: Run release-please | |
uses: spuxx1701/ci-cd/.github/workflows/pnpm_release-please.yml@v4.0.0 | |
needs: | |
- run_checks | |
- run_unit_tests | |
secrets: | |
TOKEN: ${{ secrets.RELEASE_PLEASE_TOKEN }} |