-
Notifications
You must be signed in to change notification settings - Fork 47
49 lines (40 loc) · 1.02 KB
/
ci.yml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
name: CI
on:
push:
branches:
- main
pull_request:
jobs:
CI:
runs-on: ubuntu-latest
env:
TURBO_API: http://127.0.0.1:9080
TURBO_TOKEN: 61613e87-4749-493b-a569-9a5e15e168cd
TURBO_TEAM: bezier-react
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'yarn'
- name: Install Dependencies
run: yarn install
- name: TurboRepo Local Server
uses: felixmosh/turborepo-gh-artifacts@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
server-token: ${{ env.TURBO_TOKEN }}
- name: Build
run: yarn build
- name: Lint
run: yarn lint
- name: Typecheck
run: yarn typecheck
- name: Test
run: yarn test
- name: Upload Coverage Reports to Codecov
uses: codecov/codecov-action@v4
with:
token: 0a48be00-2768-42b0-b528-7ab854c3db46