Skip to content

chore: Upgrade @eslint/eslintrc to v3.2.0 (#973) #2358

chore: Upgrade @eslint/eslintrc to v3.2.0 (#973)

chore: Upgrade @eslint/eslintrc to v3.2.0 (#973) #2358

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.19
- 7.0.15
- 8.0.3
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