bun #153
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: Test CI test | |
on: | |
pull_request: | |
paths: | |
- src/** | |
- public/** | |
- package*.json | |
- .github/workflows/ci_test.yml | |
types: [opened, reopened, synchronize, ready_for_review] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Check JSON syntax errors in translations via jq | |
run: jq . public/locales/*/translation.json > /dev/null | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- name: Install dependencies | |
run: bun install --frozen-lockfile | |
- name: Run TypeScript typecheck | |
run: bun run typecheck | |
- name: Run linter & formatter | |
run: bun run check | |
- name: Run tests | |
run: bun test | |
- name: Build | |
run: bun run build | |
env: | |
VITE_DEFAULT_LANG: en | |
VITE_BACKEND_API_URL: "https://dev.openaedmap.org" |