Merge pull request #15973 from lenguyenthanh/game-ingestor #19723
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 code | |
on: | |
push: | |
branches-ignore: | |
- 'l10n_master' | |
pull_request: | |
paths-ignore: | |
- 'translation/dest/**' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
run_install: false | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'pnpm' | |
- uses: github/codeql-action/init@v3 | |
with: | |
languages: javascript | |
- uses: github/codeql-action/analyze@v3 | |
- run: pnpm install | |
- run: pnpm run lint | |
- run: pnpm run check-format |