Skip to content

chore(deps): bump config from 4.4.2 to 5.0.1 in /examples/express-sample #918

chore(deps): bump config from 4.4.2 to 5.0.1 in /examples/express-sample

chore(deps): bump config from 4.4.2 to 5.0.1 in /examples/express-sample #918

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Node.js CI
on:
push:
branches: [ "master", "develop" ]
pull_request:
branches: [ "master", "develop" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x, 24.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
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'
- run: npm ci
- run: npm test
# Run CommonJS compatibility test
- run: npm run test:cjs
# Run static analysis on JS files
- run: npm run eslint
# Run static analysis on TS files
- run: npm run tseslint
# Checks code formatting using the version pinned in package-lock.json.
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Use Node.js 24.x
uses: actions/setup-node@v7
with:
node-version: 24.x
cache: 'npm'
- run: npm ci
- run: npm exec -- prettier --check "lib/*.ts" "test/*.js" "examples/**/*.js"