diff options
Diffstat (limited to '.github/workflows/lint.yml')
| -rw-r--r-- | .github/workflows/lint.yml | 14 |
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 |
