Debug TypeScript CI #2
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-typescript-code" | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "packages/ui/**" | |
- ".github/workflows/test-typescript-code.yaml" | |
pull_request: | |
branches: | |
- main | |
- integration-* | |
paths: | |
- "packages/ui/**" | |
- ".github/workflows/test-typescript-code.yaml" | |
defaults: | |
run: | |
working-directory: packages/ui | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up Bun | |
uses: oven-sh/setup-bun@v2 | |
- name: Set up NodeJS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install dependencies | |
run: bun install | |
- name: Build frontend | |
run: bun run build |