Skip to content

chore: release 9.6.2 #2401

chore: release 9.6.2

chore: release 9.6.2 #2401

name: Encryption Tests
on:
pull_request:
paths:
- ".github/workflows/encryption-tests.yml"
- "package.json"
- "index.js"
- "lib/**"
- "test/encryption/**.js"
- "scripts/setup-encryption-tests.js"
push:
paths:
- ".github/workflows/encryption-tests.yml"
- "package.json"
- "index.js"
- "lib/**"
- "test/encryption/**.js"
- "scripts/setup-encryption-tests.js"
workflow_dispatch: {}
permissions:
contents: write
pull-requests: write
id-token: write
jobs:
run-tests:
permissions:
# required for all workflows
security-events: write
id-token: write
contents: write
runs-on: ubuntu-latest
name: Encryption tests
env:
FORCE_COLOR: true
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22
- name: Install Dependencies
run: npm install
- name: Install mongodb-client-encryption
run: npm install mongodb-client-encryption
- name: Run setup scripts for mongodb-client-encryption
run: pushd node_modules/mongodb-client-encryption && npm run install && popd
- name: Setup Tests
run: npm run setup-test-encryption
- name: Run Tests
run: npm run test-encryption:ci