Skip to content
Merged
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
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,26 @@ jobs:
# docker-compose stack (Prefect, Postgres, Redis, Solr).
python3 -m pytest tests/ --ignore=tests/integration \
-o addopts= -p no:cacheprovider -q

js-tests:
name: JS suite (Vitest, Node 22)
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout datapusher-plus
uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm

# Pins the polling contract between scheming-ai-suggestions.js and the
# Python pipeline (tests/js/). Running it here also exercises
# Dependabot's npm bumps (vitest, jsdom, jquery) before they merge.
- name: Install JS dependencies
run: npm ci

- name: Run JS test suite
run: npm test
Loading