Run on commit e2b12585fa9b1e7a9597f2af33fd430a884acac0 #2180
Workflow file for this run
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@v3 | |
with: | |
fetch-depth: 2 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn | |
- name: Run lint | |
run: yarn turbo:check-code |