Skip to content

Tighten up admin API handling of server-side decoding #845

Tighten up admin API handling of server-side decoding

Tighten up admin API handling of server-side decoding #845

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: Build & test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x, v22.14.0, 24.x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
check-latest: true
cache: 'npm'
cache-dependency-path: 'package.json'
- run: npm install
- run: npm run ci-tests
env:
# Node v18 needs webcrypto, Node v22+ needs no strip-types (because we use ts-node for full TS instead)
NODE_OPTIONS: >-
${{ startsWith(matrix.node-version, '18') && '--experimental-global-webcrypto' ||
(!startsWith(matrix.node-version, '20') && !startsWith(matrix.node-version, '18') && '--no-experimental-strip-types') || '' }}
- name: Deploy docs
if: github.ref == 'refs/heads/main' && matrix.node-version == 'v22.14.0'
uses: JamesIves/github-pages-deploy-action@v4
with:
single-commit: true
branch: gh-pages
folder: typedoc