Skip to content

feat(priceOracle): source AI3/USD from a subgraph VWAP of recent pool swaps (USDC epic — step 4 rework) #1367

feat(priceOracle): source AI3/USD from a subgraph VWAP of recent pool swaps (USDC epic — step 4 rework)

feat(priceOracle): source AI3/USD from a subgraph VWAP of recent pool swaps (USDC epic — step 4 rework) #1367

Workflow file for this run

name: Services
on:
push:
branches:
- main
paths:
- "apps/backend/**" # Only trigger on changes within auth or backend
- "apps/auth/**"
- ".github/**"
pull_request:
paths:
- "apps/backend/**" # Only trigger on changes within auth or backend
- "apps/auth/**"
- ".github/**"
workflow_dispatch:
env:
NEXT_PUBLIC_PROJECT_ID: "mocked-value-for-CI/CD"
jobs:
backend-build-check:
name: Services Build, Test and Lint Check
runs-on: ubuntu-latest
# Cache dependencies to speed up the workflow
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "20"
- name: Install Yarn
run: corepack enable
- name: Build submodules
run: make -B submodules
- name: Install dependencies
run: corepack use yarn@4.2.2
- name: Build all services
run: make -B all
- name: Run lint
run: make lint
- name: Run tests
run: make test