misc(Skeleton): start TW migration but allow backward compatibility #6000
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: | |
pull_request: | |
types: [opened, reopened, review_requested, ready_for_review, synchronize] | |
jobs: | |
run-linters: | |
name: Run linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
# ESLint and Prettier must be in `package.json` | |
- name: Install Node.js dependencies | |
run: yarn | |
- name: Run linters | |
uses: wearerequired/lint-action@v2 | |
with: | |
eslint: true | |
eslint_extensions: js,ts,tsx | |
continue_on_error: false | |
prettier: true | |
prettier_extensions: ts,tsx,svg,html | |
- name: Run Translation Check | |
run: | | |
yarn translations:inspect |