Skip to content

keeper: skip ask-gate roll aborts #146

keeper: skip ask-gate roll aborts

keeper: skip ask-gate roll aborts #146

Workflow file for this run

name: CapletFi CI
on:
push:
branches:
- main
paths-ignore:
- keeper/data/vault_fills.ndjson
- web/public/vault_fills.ndjson
pull_request:
workflow_dispatch:
jobs:
contracts:
name: Move build and tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install Sui CLI
run: |
curl -sSfL https://raw.githubusercontent.com/Mystenlabs/suiup/main/install.sh | sh
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
"$HOME/.local/bin/suiup" install sui@testnet -y
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Show Sui version
run: sui --version
- name: Build and test legacy proof package plus CapletFi V2 package
run: npm run verify:contracts
web:
name: Web typecheck and build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 22
cache: npm
cache-dependency-path: web/package-lock.json
- name: Run root web verifier
run: npm run verify:web
- name: Audit production dependencies
run: npm --prefix web audit --omit=dev --registry=https://registry.npmjs.org
keeper:
name: Keeper build and live proof
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 22
cache: npm
cache-dependency-path: keeper/package-lock.json
- name: Run root keeper verifier
run: npm run verify:keeper
- name: Verify committed vault ledger
run: npm run verify:ledger
- name: Audit production dependencies
run: npm --prefix keeper audit --omit=dev --registry=https://registry.npmjs.org
public-surface:
name: Public launch surface
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 22
cache: npm
cache-dependency-path: web/package-lock.json
- name: Verify public app, proof JSON, README, and narrative safety
run: |
npm --prefix web ci
npm --prefix web run build
npm --prefix web run start > /tmp/capletfi-next.log 2>&1 &
for i in {1..30}; do
if curl -fsS http://127.0.0.1:3001 >/dev/null; then
break
fi
if [ "$i" = "30" ]; then
cat /tmp/capletfi-next.log
exit 1
fi
sleep 1
done
CAPLETFI_PUBLIC_BASE=http://127.0.0.1:3001 npm run verify:public
CAPLETFI_NARRATIVE_URL=http://127.0.0.1:3001/api/narrative npm run verify:narrative