Skip to content

Bump the minor-and-patch group with 4 updates (#593) #680

Bump the minor-and-patch group with 4 updates (#593)

Bump the minor-and-patch group with 4 updates (#593) #680

Workflow file for this run

name: build
on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]
permissions:
contents: read
jobs:
default:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 22.x, 24.x ]
mongodb-version: [ '8.0' ]
steps:
- uses: actions/checkout@v7
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.12.1
with:
mongodb-version: ${{ matrix.mongodb-version }}
- run: npm ci
- run: npm install multer --no-save
- run: npm install mongodb --no-save
- run: npm run compile
- run: npm run typecheck
- run: npm run coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/lcov.info
fail_ci_if_error: false
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./test-report.junit.xml
report_type: test_results