Merge pull request #13960 from transcom/B-20756 #28152
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
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
run-linters: | |
concurrency: | |
group: run-linters-${{ github.event.action || 'unknown' }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4.1.6 | |
- name: Set up node | |
uses: actions/setup-node@v4 | |
with: | |
cache: 'yarn' | |
node-version-file: '.tool-versions' | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run eslint tests | |
run: yarn test:lint-rules | |
- name: Run eslint production | |
run: yarn run lint:production |