This repository has been archived by the owner on May 16, 2024. It is now read-only.
feat: added t3-oss validation of environment variables #51
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: 'Test' | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
coverage: | |
permissions: | |
checks: write | |
pull-requests: write | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
run_install: true | |
- uses: zerodays/action-infisical@v1 | |
with: | |
infisical_token: ${{ secrets.INFISICAL_TOKEN }} | |
environment: 'staging' | |
- uses: ArtiomTr/jest-coverage-report-action@v2 | |
with: | |
test-script: source .env && NODE_ENV=development pnpm test |