Merge pull request #175 from grafikr/v1 #335
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
run-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: Install modules | |
run: pnpm i | |
- name: Run JavaScript | |
if: always() | |
run: pnpm lint-js | |
- name: Run TypeScript | |
if: always() | |
run: pnpm lint-tsc |