Skip to content

chore: Upgrade eslint monorepo to v9.11.0 #2257

chore: Upgrade eslint monorepo to v9.11.0

chore: Upgrade eslint monorepo to v9.11.0 #2257

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node:
- 18.x
- 20.x
- 22.x
mongodb:
- 6.0.16
- 7.0.12
steps:
- uses: actions/[email protected]
with:
filter: tree:0
- uses: pnpm/[email protected]
- name: Use Node.js ${{ matrix.node }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- run: node -v
- run: pnpm install --frozen-lockfile
- run: pnpm test:build
env:
MONGOMS_VERSION: ${{ matrix.mongodb }}
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
filter: tree:0
- uses: pnpm/[email protected]
- uses: actions/[email protected]
with:
node-version-file: 'package.json'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm build:docs && git diff
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
filter: tree:0
- uses: pnpm/[email protected]
- uses: actions/[email protected]
with:
node-version-file: 'package.json'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm lint:ci && pnpm pretty:ci
unit:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
filter: tree:0
- uses: pnpm/[email protected]
- uses: actions/[email protected]
with:
node-version-file: 'package.json'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm test
types:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
filter: tree:0
- uses: pnpm/[email protected]
- uses: actions/[email protected]
with:
node-version-file: 'package.json'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm test:types