Skip to content

chore(deps): update dependency @types/node to v22.10.5 #5814

chore(deps): update dependency @types/node to v22.10.5

chore(deps): update dependency @types/node to v22.10.5 #5814

Workflow file for this run

name: Node CI
on: [push, pull_request]
jobs:
build-node:
runs-on: ubuntu-latest
strategy:
matrix:
mongodb-version: [5.0]
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.17.0
uses: actions/setup-node@v4
with:
node-version: 20.17.0
- name: Get npm cache directory
id: npm-cache
run: |
echo "::set-output name=dir::$(npm config get cache)"
- uses: actions/cache@v4
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: MongoDB in GitHub Actions
uses: supercharge/[email protected]
with:
mongodb-version: ${{ matrix.mongodb-version }}
- name: npm install, build, test and doc
run: |
npm ci
npm run build --if-present
npm run test
npm run doc
npm run postman
- name: Coveralls GitHub Action
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
env:
CI: true
SESSION_SECRET: ${{ secrets.SESSION_SECRET }}
ACCESS_TOKEN_SECRET: ${{ secrets.ACCESS_TOKEN_SECRET }}
MONGODB_URI_LOCAL: ${{ secrets.MONGODB_URI_LOCAL }}