Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/check-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Test

on:
pull_request:

workflow_dispatch:
push:
branches:
- main

permissions:
contents: read # we just need to checkout the repo

jobs:
test:
name: Test

timeout-minutes: 45

strategy:
matrix:
os: [ubuntu-latest]
node: [20.x, 24.x]
fail-fast: false

runs-on: ${{ matrix.os }}

steps:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}

- name: Checkout
uses: actions/checkout@v5

- name: Install Dependencies
run: |
npm ci
npx lerna bootstrap
shell: bash

- name: Run Tests
run: npm run test -- --stream
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/cron-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v2
- name: Install Dependencies
run: npm install
run: npm ci
- name: Set up Git
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ tmp/expansions.yaml
tmp/
dist.tgz
mongocryptd.pid
!package-lock.json
Loading