Skip to content

fix: reference correct table for relation plural fields #59

fix: reference correct table for relation plural fields

fix: reference correct table for relation plural fields #59

Workflow file for this run

name: CI pipeline
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
static-analysis:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: Audit dependencies
run: pnpm audit --audit-level=low
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run Biome CI
run: pnpm -r lint:ci
- name: Run TypeScript type checks
run: pnpm -r typecheck
# This will run the dev command in background, wait for
# RUNTIME_CHECK_TIMEOUT_SECONDS seconds, and then kill the process if it
# is still running. If the command does not throw an error within that
# time, the step will exit successfully. If it does throw an error,
# the step will exit and fail the CI pipeline. This runtime check uses
# a pglite database that only lives in the CI environment.
# It will be discarded after the CI run.
- name: Run Ponder runtime integrity checks
working-directory: apps/ensnode
env:
ACTIVE_PLUGINS: eth,base.eth,linea.eth
RPC_URL_1: https://eth.drpc.org
RPC_URL_8453: https://base.drpc.org
RPC_URL_59144: https://linea.drpc.org
RUNTIME_CHECK_TIMEOUT_SECONDS: 10
run: |
pnpm dev -vv &
PID=$!
sleep $RUNTIME_CHECK_TIMEOUT_SECONDS
if ps -p $PID > /dev/null; then
kill $PID
wait $PID || true
exit 0
else
wait $PID
exit $?
fi
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run unit tests
run: pnpm -r test