-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (34 loc) · 1 KB
/
Copy pathtest.yml
File metadata and controls
34 lines (34 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: tests
on:
push:
branches: [main]
pull_request:
jobs:
node-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
- run: npm ci
- name: Plain node:test suites
run: |
node --test \
tests/adversarial-harness.test.mjs \
tests/trust.test.mjs \
tests/release-signing.test.mjs \
tests/cli-install.test.mjs
- name: TypeScript-source node:test suites
run: |
node --experimental-strip-types --test \
tests/prompt-injection-guard.test.mjs \
tests/runtime.test.mjs \
tests/integrations.test.mjs \
tests/growth-revenue-split.test.mjs \
tests/trust-badge.test.mjs \
tests/bounties.test.mjs \
tests/trust-scoring.test.mjs \
tests/adversarial-holdout.test.mjs \
tests/adversarial-judge.test.mjs