Skip to content

Update to node22, fix vscode imports, fix doc builds, remove logs #247

Update to node22, fix vscode imports, fix doc builds, remove logs

Update to node22, fix vscode imports, fix doc builds, remove logs #247

Workflow file for this run

name: TS Tests
on:
push:
branches: [ main, develop ]
paths:
- 'src/**'
- 'examples/**'
- '*.json'
- '*.js'
- '*.ts'
- '*.tsx'
- '.github/workflows/ts-tests.yml'
- '.github/workflows/reusable-typescript.yml'
pull_request:
branches: [ main, develop ]
paths:
- 'src/**'
- 'examples/**'
- '*.json'
- '*.js'
- '*.ts'
- '*.tsx'
- '.github/workflows/ts-tests.yml'
- '.github/workflows/reusable-typescript.yml'
jobs:
test-22x:
uses: ./.github/workflows/reusable-typescript.yml
with:
node-version: '22'
install-command: 'npm install --workspaces'
build-command: 'npm run build'
run-format-check: false
run-lint: false
run-type-check: false
run-tests: true
test-command: 'npm run test:all && npm run test:coverage && npm run build:lib'
secrets:
TEST_DATALAYER_API_KEY: ${{ secrets.TEST_DATALAYER_API_KEY }}
test-24x:
needs: test-22x # Run sequentially
uses: ./.github/workflows/reusable-typescript.yml
with:
node-version: '24.x'
install-command: 'npm install --workspaces'
build-command: 'npm run build'
run-format-check: false
run-lint: false
run-type-check: false
run-tests: true
test-command: 'npm run test:all && npm run test:coverage && npm run build:lib'
secrets:
TEST_DATALAYER_API_KEY: ${{ secrets.TEST_DATALAYER_API_KEY }}