Bump flatted from 3.3.4 to 3.4.2 #139
Workflow file for this run
This file contains hidden or 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
| # Combined lint, format, and typecheck workflow. | |
| # Replaces separate eslint.yml, prettier.yml, and run-tsc.yml to avoid | |
| # running npm install three times. | |
| name: Lint & Typecheck | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| lint-and-typecheck: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22.x | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Check Prettier | |
| run: make format | |
| - name: Check ESLint | |
| run: make eslint | |
| - name: Build (required for tsc) | |
| run: make | |
| - name: Typecheck | |
| run: npx tsc |