move type checking to other workflow, fix TS errors, add TSC checking

This commit is contained in:
AAGaming
2023-09-25 13:23:38 -04:00
committed by marios8543
parent 11d731cf35
commit 8fe8062950
6 changed files with 48 additions and 22 deletions
+2 -13
View File
@@ -11,23 +11,12 @@ jobs:
steps:
- uses: actions/checkout@v2 # Check out the repository first.
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
[ -f requirements.txt ] && pip install -r requirements.txt
- name: Install JavaScript dependencies
- name: Install TypeScript dependencies
working-directory: frontend
run: |
npm i -g pnpm
pnpm i --frozen-lockfile
- name: Run pyright (Python)
uses: jakebailey/pyright-action@v1
with:
python-version: "3.10.6"
no-comments: true
- name: Run prettier (JavaScript & TypeScript)
- name: Run prettier (TypeScript)
working-directory: frontend
run: pnpm run lint