forked from CodebuffAI/codebuff
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (26 loc) · 722 Bytes
/
ci.yml
File metadata and controls
36 lines (26 loc) · 722 Bytes
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
31
32
33
34
35
36
name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install
- name: Typecheck all packages
run: bun run typecheck
- name: Get Credentials
run: echo "${{ secrets.ENV_LOCAL }}" > .env.local
- name: Run npm-app tests
run: cd npm-app && bun test
- name: Run backend tests
run: cd backend && bun test
- name: Run common tests
run: cd common && bun test