From a7669799bca3ff4089ab81fde924b2d2f787cf0f Mon Sep 17 00:00:00 2001 From: TrainDoctor Date: Wed, 25 Oct 2023 19:47:33 -0700 Subject: Merge aa/type-cleanup-py (work by marios, aa, wolv) --- .github/workflows/lint.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to '.github/workflows/lint.yml') 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 -- cgit v1.2.3