feat: Add EnvModule to help with loading and handling environment var… #68
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 | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
run_checks: | |
name: Run code checks | |
uses: spuxx1701/ci-cd/.github/workflows/[email protected] | |
with: | |
PNPM_BUILD: true | |
run_unit_tests: | |
name: Run tests (vitest) | |
uses: spuxx1701/ci-cd/.github/workflows/[email protected] | |
with: | |
PNPM_BUILD: true | |
COVERAGE_FILENAME: reports/vitest/coverage/cobertura-coverage.xml | |
COVERAGE_FAIL_BELOW_MIN: 100 | |
run_release_please: | |
name: Run release-please | |
uses: spuxx1701/ci-cd/.github/workflows/[email protected] | |
needs: | |
- run_checks | |
- run_unit_tests | |
secrets: | |
TOKEN: ${{ secrets.RELEASE_PLEASE_TOKEN }} | |