Skip to content

build(deps-dev): bump nock from 14.0.10 to 15.0.0 #3487

build(deps-dev): bump nock from 14.0.10 to 15.0.0

build(deps-dev): bump nock from 14.0.10 to 15.0.0 #3487

Workflow file for this run

name: test
on:
push:
branches: ['main']
pull_request:
branches-ignore: ['gh-pages']
permissions: {}
env:
SERVER_AUTH_TYPE: basic
SERVER_URL: http://127.0.0.1:5984
SERVER_USERNAME: admin
SERVER_PASSWORD: password
WIREMOCK_URL: http://127.0.0.1:8080
WIREMOCK_PORT: 8080
jobs:
test:
strategy:
matrix:
node: ['20', '22', '24']
runs-on: ubuntu-latest
services:
couchdb:
image: apache/couchdb:3
env:
COUCHDB_USER: ${{ env.SERVER_USERNAME }}
COUCHDB_PASSWORD: ${{ env.SERVER_PASSWORD }}
options: --name couchdb
ports:
- 5984:5984
wiremock:
image: wiremock/wiremock
options: --name wiremock
ports:
- 8080:8080
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup node ${{ matrix.node }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: ${{ matrix.node }}
check-latest: true
cache: 'npm'
- name: Setup CouchDB
shell: bash
run: ${GITHUB_WORKSPACE}/scripts/setup_couch.sh
- name: Setup Wiremock
shell: bash
run: ${GITHUB_WORKSPACE}/scripts/setup_wiremock.sh
- name: Install deps
run: npm ci --no-audit
- name: Build package
run: npm run build
- name: Run tests
run: npm run test-ci
- name: Run lint
run: npm run lint