Skip to content

updates and optimizations #106

updates and optimizations

updates and optimizations #106

Workflow file for this run

name: Checks
on:
pull_request:
# allow workflow to be called from other workflows
workflow_call:
# allow workflow to be called from github.com UI
workflow_dispatch:
push:
branches-ignore: [develop]
concurrency:
group: checks-${{ github.workflow }}-${{ github.ref }}
defaults:
run:
shell: bash
env:
NODE_OPTIONS: '--no-warnings'
ACTIONS_RUNNER_DEBUG: true
jobs:
checks:
name: 'πŸ”Ž Checks'
timeout-minutes: 3
runs-on: ['ubuntu-latest']
steps:
- name: 'πŸ”‘ Checkout'
uses: actions/[email protected]
- name: '🐰 Setup Bun'
uses: oven-sh/setup-bun@v1
with:
bun-version: 'latest'
- name: 'Setup Biome'
uses: biomejs/setup-biome@v1
with:
version: 'latest'
# if lint fails no need to continue
- name: '🧹 Lint'
continue-on-error: false
run: biome ci .
- name: 'πŸ“¦ Install Dependencies'
run: bun install --frozen-lockfile
- name: 'πŸ§ͺ Typecheck'
run: bunx tsc --project tsconfig.json --noEmit
- name: 'πŸ”§ Build TypeScript App'
run: bun run build
- name: 'πŸ— Build Indexer Image'
run: |
docker compose --file='compose.yml' --project-name='efp' up --build --abort-on-container-exit --no-start indexer
- name: 'πŸ— Build Database Image'
run: |
docker compose --file='compose.yml' --project-name='efp' up --build --abort-on-container-exit --no-start database