build: weekly dependabot update (#2696) #6468
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: | |
merge_group: | |
push: | |
branches: | |
- main | |
- dependencies | |
pull_request: | |
branches: | |
- main | |
- dependencies | |
types: | |
- opened | |
- edited | |
- synchronize | |
jobs: | |
lint: | |
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-file: ".tool-versions" | |
cache: "npm" | |
cache-dependency-path: | | |
dev-client/package-lock.json | |
- name: Install Node dependencies | |
working-directory: ./dev-client | |
run: npm ci | |
- name: Lint JavaScript | |
working-directory: ./dev-client | |
run: npm run lint | |
- name: Typecheck TypeScript | |
working-directory: ./dev-client | |
run: npm run check-ts | |
- name: Check NPM module usage | |
working-directory: ./dev-client | |
run: npm run check-modules |