Skip to content

CI

CI #6

Workflow file for this run

name: CI
on:
push:
pull_request:
schedule:
- cron: '0 6 * * 1' # Weekly test to check new Node versions
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- 22 # Uses _external fallback for SSL_CTX
- 24 # 24.15+ exports GetSSLCtx
- latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
check-latest: true
- name: Node version
run: node --version
- name: OpenSSL version
run: node -e "console.log('OpenSSL', process.versions.openssl)"
- run: npm ci
- run: npm run build
- run: npm test