chore(deps): update typescript-eslint monorepo to v8 (major) #962
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: | |
push: | |
branches: [master] | |
paths-ignore: | |
- "*.md" | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.number || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
if: "!contains(github.event.commits[0].message, 'chore')" | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node_version: [14] | |
include: | |
# other OS | |
- os: macos-latest | |
node_version: 14 | |
- os: windows-latest | |
node_version: 14 | |
fail-fast: false | |
name: "Test: node-${{ matrix.node_version }}, ${{ matrix.os }}" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: pnpm/[email protected] | |
- name: Set node version to ${{ matrix.node_version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node_version }} | |
cache: "pnpm" | |
- name: Install deps | |
run: pnpm install | |
- name: Test unit | |
run: pnpm run test | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
lint: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
name: "Lint: node-14, ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install pnpm | |
uses: pnpm/[email protected] | |
- name: Set node version to 14 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 14 | |
cache: "pnpm" | |
- name: Install deps | |
run: pnpm install | |
- name: Lint | |
run: pnpm run lint | |
- name: Check formatting | |
run: pnpm prettier --check . |