summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/test.yml
blob: c8d867284febde63e11bfc3eda9ee12a280d1151 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: test

on:
  push:
    branches-ignore:
      - production
  pull_request:
    branches-ignore:
      - production
  workflow_dispatch:
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
        with:
          token: ${{ secrets.GITHUB_TOKEN }}

      - name: Setup Bun
        uses: ./.github/actions/setup-bun

      - name: run
        run: |
          git config --global user.email "[email protected]"
          git config --global user.name "opencode"
          bun turbo typecheck
          bun turbo test
        env:
          CI: true