summaryrefslogtreecommitdiff
path: root/.github/workflows/lint.yml
diff options
context:
space:
mode:
authorTrainDoctor <traindoctor@protonmail.com>2023-10-25 19:47:33 -0700
committerTrainDoctor <traindoctor@protonmail.com>2023-10-25 19:47:33 -0700
commita7669799bca3ff4089ab81fde924b2d2f787cf0f (patch)
tree0afcb03ec1c01efac90be81674df649d6cef186e /.github/workflows/lint.yml
parentdacd2c19eb51ba525288fccb3ded653e45ca4409 (diff)
downloaddecky-loader-a7669799bca3ff4089ab81fde924b2d2f787cf0f.tar.gz
decky-loader-a7669799bca3ff4089ab81fde924b2d2f787cf0f.zip
Merge aa/type-cleanup-py (work by marios, aa, wolv)v2.10.6-pre1
Diffstat (limited to '.github/workflows/lint.yml')
-rw-r--r--.github/workflows/lint.yml14
1 files changed, 10 insertions, 4 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 1095f01b..b88fc242 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -2,6 +2,7 @@ name: Lint
on:
push:
+ pull_request:
jobs:
lint:
@@ -10,8 +11,13 @@ jobs:
steps:
- uses: actions/checkout@v3 # Check out the repository first.
- - name: Run prettier (JavaScript & TypeScript)
+
+ - name: Install TypeScript dependencies
+ working-directory: frontend
run: |
- pushd frontend
- npm install
- npm run lint
+ npm i -g pnpm
+ pnpm i --frozen-lockfile
+
+ - name: Run prettier (TypeScript)
+ working-directory: frontend
+ run: pnpm run lint \ No newline at end of file