Merge pull request #4611 from mozilla/mntor-3146 #1412
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: [push] | |
jobs: | |
npm-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '22.2.x' | |
- run: npm ci | |
- run: npm run build-glean | |
- run: npm run build-nimbus | |
- run: cp .env-dist .env | |
# Mirror old linter from CircleCI, verifies that linter succeeds | |
- run: npm run lint | |
- run: node scripts/check-node-version-alignment.js |