Run on commit c932ddc815fd78a67f82992204b10b5f8e8e1b42 #2305
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: "[Test] format, lint and typecheck code" | |
run-name: "Run on commit ${{github.sha}}" | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Lint code | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn | |
- name: Run lint | |
run: yarn turbo:check-code |