chore(deps): update dependency @types/eslint to v9 #2022
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: Node CI | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
push: | |
branches: [main] | |
jobs: | |
lint-and-dedupe: | |
runs-on: ubuntu-latest | |
name: Lint & Deduplicate deps on node 18.x and ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Use Node 18.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
- name: Install deps and build (with cache) | |
run: npm install && npm run build | |
- name: Lint codebase | |
run: npm run lint:post-build | |
test: | |
name: Test on Node ${{ matrix.node }} and ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node: ['18.x'] | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
include: | |
- os: ubuntu-latest | |
node: '16.x' | |
- os: ubuntu-latest | |
node: '19.x' | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Use Node ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install deps and build (with cache) | |
run: npm install && npm run build | |
- name: Test package | |
run: npm run test:post-build |