Skip to content

fix: always send a nonce in the auth request MONGOSH-1905 #521

fix: always send a nonce in the auth request MONGOSH-1905

fix: always send a nonce in the auth request MONGOSH-1905 #521

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- main
name: CI
jobs:
test:
name: Test
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [16.x, 18.x, 20.x]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
# the oidc-provider package we use doesn't list Node.js 20 as supported
- name: Install Dependencies
run: npm ci --ignore-engines
- name: Test
run: npm run test-ci
check:
name: Check
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
node-version: [18.x]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install npm@8 for Node.js 14
run: node -e 'process.exitCode = +process.version.startsWith("v14")' || npm install -g npm@8
- name: Install Dependencies
run: npm ci --ignore-engines
- name: Compile
run: npm run compile
- name: Check
run: npm run check