This repository has been archived by the owner on May 16, 2024. It is now read-only.
Merge pull request #29 from zerodays/feat/no-literals #165
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: Lint | |
on: | |
push: | |
pull_request: | |
jobs: | |
lint: | |
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" | |
- name: Lint | |
run: | | |
source .env && pnpm tsc | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
run_install: true | |
- name: Typecheck | |
run: | | |
pnpm tsc |