boolish #103
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |