Skip to content

build(deps-dev): bump @types/express from 4.17.21 to 5.0.0 #6858

build(deps-dev): bump @types/express from 4.17.21 to 5.0.0

build(deps-dev): bump @types/express from 4.17.21 to 5.0.0 #6858

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run lint
- run: npm run ci-prettify
if: ${{ matrix.node-version == '18.x' }}
- run: npm run compile --if-present
- run: npm test
- name: Test Report
uses: dorny/test-reporter@31a54ee7ebcacc03a09ea97a7e5465a47b84aea5 # v1
if: success() || failure() # run this step even if previous step failed
continue-on-error: true
with:
name: JEST Tests # Name of the check run which will be created
path: junit.xml # Path to test results
reporter: jest-junit # Format of test results
fail-on-error: 'false'
- uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
name: Upload Coverage Results
if: ${{ matrix.node-version == '18.x' }}
- run: mv junit.xml rps-unit-${{ matrix.node-version }}.xml
- name: Upload JEST Results
uses: actions/upload-artifact@84480863f228bb9747b473957fcc9e309aa96097 # v4.4.2
with:
name: rps-unit-${{ matrix.node-version }}
path: rps-unit-${{ matrix.node-version }}.xml