Skip to content

refactor: add proper jest testing to Atlas #237

refactor: add proper jest testing to Atlas

refactor: add proper jest testing to Atlas #237

Workflow file for this run

name: review
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize]
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
jobs:
core:
runs-on: ubuntu-latest
steps:
- name: 🏗 Setup repo
uses: actions/checkout@v4
- name: 🏗 Setup project
uses: ./.github/actions/setup-project
- name: 🚨 Lint core
run: bun run lint -- --max-warnings 0
- name: 📋 Typecheck core
run: bun run typecheck
- name: 🧪 Test core
run: bun run test
- name: 👷 Build core
run: bun run build
webui:
runs-on: ubuntu-latest
steps:
- name: 🏗 Setup repo
uses: actions/checkout@v4
- name: 🏗 Setup project
uses: ./.github/actions/setup-project
with:
with-webui: true
# Required for typechecking webui
- name: 👷 Build core
run: bun run build
- name: 📋 Typecheck webui
run: bun run typecheck
working-directory: webui
- name: 👷 Build webui
run: bun run build
working-directory: webui
env:
EXPO_USE_FAST_RESOLVER: true # Use the faster Metro resolver in SDK 51