chore(deps): update dependency @types/express to v5 #5831
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |