summaryrefslogtreecommitdiff
path: root/.github/workflows/lint.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/lint.yml')
-rw-r--r--.github/workflows/lint.yml15
1 files changed, 13 insertions, 2 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index b88fc242..232ea2e2 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -12,12 +12,23 @@ jobs:
steps:
- uses: actions/checkout@v3 # Check out the repository first.
- - name: Install TypeScript dependencies
+ - name: Install Python dependencies
+ run: |
+ python -m pip install --upgrade pip
+ [ -f requirements.txt ] && pip install -r requirements.txt
+
+ - name: Install JavaScript dependencies
working-directory: frontend
run: |
npm i -g pnpm
pnpm i --frozen-lockfile
- - name: Run prettier (TypeScript)
+ - name: Run pyright (Python)
+ uses: jakebailey/pyright-action@v1
+ with:
+ python-version: "3.10.6"
+ no-comments: true
+
+ - name: Run prettier (JavaScript & TypeScript)
working-directory: frontend
run: pnpm run lint \ No newline at end of file