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
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
# The repo gitignores its lockfile, so `npm ci` / cache: npm cannot be used.
- run: npm install
- run: npm run build

test:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
# The repo gitignores its lockfile, so `npm ci` / cache: npm cannot be used.
- run: npm install
# test/index.test.mts is a live-server integration suite (needs a server
# on :50051 + @blaze-cardano deps); excluded from CI like the rust/dotnet
# integration suites. No offline-runnable tests remain today.
- run: npx vitest run --passWithNoTests --exclude '**/index.test.mts'
Loading