Update eslint monorepo to v9.15.0 #3456
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: CI | |
on: [merge_group, push, pull_request, workflow_dispatch] | |
jobs: | |
build_test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x] | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@3b9b8c884f6b4bb4d5be2779c26374abadae0871 | |
- name: Install Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af | |
with: | |
node-version: ${{ matrix.node-version }} | |
check-latest: true | |
- name: Cache Dependencies | |
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a | |
with: | |
path: '**/node_modules' | |
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} | |
- name: Install Dependencies | |
run: yarn install | |
- name: Run Linting | |
run: yarn lint | |
- name: Run Unit Tests | |
run: yarn test |