Skip to content

feat: Create escrow_contracts table for escrow contract tracking #268

feat: Create escrow_contracts table for escrow contract tracking

feat: Create escrow_contracts table for escrow contract tracking #268

Workflow file for this run

name: PR
on:
pull_request:
branches:
- main
- develop
paths-ignore:
- '**.md'
- 'docs/**'
- '.gitignore'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pr:
name: Indexer PR
runs-on: ubuntu-latest
defaults:
run:
working-directory: apps/indexer
steps:
- uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Verify Bun installation
run: bun --version
- name: Cache dependencies
uses: actions/cache@v4
with:
path: |
node_modules
~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
restore-keys: |
${{ runner.os }}-bun-
- name: Install Dependencies
run: |
bun install
# Verify installation was successful
test -f bun.lockb
# Untrusted packages can be installed, causing false errors. Continuing on error.
# ? If something actually went wrong, the build will fail below.
continue-on-error: true
- name: Codegen
run: bun codegen
timeout-minutes: 5
- name: Build
run: bun run build
timeout-minutes: 10
- name: Install test dependencies
run: bun add --dev @subql/node-stellar
- name: Run tests with Subquery Node
run: bunx subql-node-stellar test -f ${{ github.workspace }}
timeout-minutes: 15