Skip to content

chore(deps-dev): bump mongodb from 4.17.2 to 6.10.0 #251

chore(deps-dev): bump mongodb from 4.17.2 to 6.10.0

chore(deps-dev): bump mongodb from 4.17.2 to 6.10.0 #251

Workflow file for this run

name: CI
on:
pull_request:
env:
TURBO_API: ${{ vars.TURBO_API }}
TURBO_TEAM: team_ducktors
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
commitlint:
name: Commit
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Remove tsconfig.json
run: rm tsconfig.json || true # https://github.com/wagoid/commitlint-github-action/issues/560#issuecomment-1277659864
- name: Check commit message
uses: wagoid/commitlint-github-action@v6
with:
configFile: commitlint.config.cjs
failOnWarnings: false
helpURL: https://github.com/ducktors/turborepo-remote-cache#how-to-commit
build:
runs-on: ${{ matrix.os }}
name: Build
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
name: Checkout
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9.5.0
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- name: Are The Types Wrong
run: |
npm i -g @arethetypeswrong/cli
attw --pack packages/http
attw --pack packages/main-loader
attw --pack packages/mongodb
attw --pack packages/projection
lint:
runs-on: macos-latest
name: Lint
steps:
- uses: actions/checkout@v4
name: Checkout
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9.5.0
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint code
run: pnpm lint