Skip to content

Commit c92d55f

Browse files
committed
basic github action setup
1 parent 494dc76 commit c92d55f

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,31 +19,27 @@ env:
1919
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
2020

2121
jobs:
22-
lint:
22+
check:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@v4
2626

2727
- name: Setup
2828
uses: ./tooling/github/setup
2929

30-
- name: Copy env
31-
shell: bash
32-
run: cp .env.example .env
30+
- name: Check (lint and format)
31+
run: pnpm check
3332

34-
- name: Lint
35-
run: pnpm lint && pnpm lint:ws
36-
37-
format:
33+
build:
3834
runs-on: ubuntu-latest
3935
steps:
4036
- uses: actions/checkout@v4
4137

4238
- name: Setup
4339
uses: ./tooling/github/setup
4440

45-
- name: Format
46-
run: pnpm format
41+
- name: Build
42+
run: pnpm build
4743

4844
typecheck:
4945
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)