Skip to content
Open
Show file tree
Hide file tree
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: 22 additions & 1 deletion .github/workflows/1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,28 @@ jobs:
run: npm ci --prefer-offline --no-audit --no-fund

- name: 4. Unit Tests
run: npm run test:ci
run: npm run test:unit:ci

integration-tests:
if: github.event.pull_request.draft == false
name: Integration Tests
runs-on: ubuntu-latest

steps:
- name: 1. Checkout Repository
uses: actions/checkout@v4

- name: 2. Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22.22'
cache: npm

- name: 3. Install Dependencies
run: npm ci --prefer-offline --no-audit --no-fund

- name: 4. Integration Tests
run: npm run test:integration:ci

typecheck:
if: github.event.pull_request.draft == false
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
"fixtures:check": "echo \"No fixtures drift check configured for this repo\"",
"test": "vitest",
"test:ci": "vitest run --coverage",
"test:unit": "vitest run test/unit",
"test:unit:ci": "vitest run test/unit --coverage",
"test:integration": "vitest run test/integration",
"test:integration:ci": "vitest run test/integration --coverage",
"test:run": "vitest run",
"test:watch": "vitest --watch",
"test:coverage": "vitest run --coverage"
Expand Down
Loading
Loading