Skip to content

feat: Add RPC certificate pinning support #788

feat: Add RPC certificate pinning support

feat: Add RPC certificate pinning support #788

Workflow file for this run

name: CI Pipeline
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x, 24.x]
steps:
- name: Checkout Repository
uses: actions/checkout@v7
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Clean Install Dependencies
run: npm ci
- name: Audit Dependencies
run: npm audit --omit=dev --audit-level=high
- name: Lint Code
run: npm run lint
- name: Check Test File Locations
run: npm run check:test-locations
- name: Run Tests
run: npm run test -- --coverage
- name: Build Project
run: npm run build
- name: Bundle Size Check
# Advisory only for now: this compares against the last *published* npm
# version, which predates a large batch of legitimate feature merges
# landed in one session — a real ~77% size increase, not a regression
# introduced by any single PR. Re-enable as a hard gate (remove
# continue-on-error) once a new version is published to npm and this
# baseline is current again.
continue-on-error: true
run: node scripts/bundle-size.mjs
env:
BUNDLE_SIZE_THRESHOLD: '10'