Skip to content

Bump express-rate-limit from 8.2.1 to 8.4.1 #255

Bump express-rate-limit from 8.2.1 to 8.4.1

Bump express-rate-limit from 8.2.1 to 8.4.1 #255

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- "**"
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test (Node ${{ matrix.node }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node:
- "22.x"
- "24.x"
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Node
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: ${{ matrix.node }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Run lint checks
if: matrix.node == '24.x'
run: npm run lint
- name: Syntax checks
run: |
node --check scripts/setup-env.js
node --check src/server.js
node --check src/password-store.js
node --check src/config-store.js
node --check src/database-store.js
node --check src/manager.js
- name: Run test suite
if: matrix.node != '24.x'
run: npm test
- name: Run coverage suite with thresholds
if: matrix.node == '24.x'
run: npm run test:coverage
- name: Upload coverage report
if: matrix.node == '24.x'
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: coverage-lcov
path: coverage/lcov.info
if-no-files-found: error