Skip to content

Commit a7797e6

Browse files
committed
chore: configured ci
1 parent 6eeb1a0 commit a7797e6

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,31 @@ jobs:
3131
test:
3232
needs: changes
3333
runs-on: ubuntu-latest
34+
env:
35+
DATABASE_URL: "postgresql://test:test@localhost:5432/test"
3436
steps:
3537
- uses: actions/checkout@v4
38+
3639
- uses: pnpm/action-setup@v2
3740
with:
3841
version: 9
42+
3943
- uses: actions/setup-node@v4
4044
with:
4145
node-version: 20
4246
cache: 'pnpm'
43-
- run: pnpm install
44-
- run: pnpm lint
45-
- run: pnpm check-types
46-
- name: Build All (with dummy DB)
47+
48+
- name: Install Dependencies
49+
run: pnpm install
50+
51+
- name: Lint
52+
run: pnpm lint
53+
54+
- name: Type Check
55+
run: pnpm check-types
56+
57+
- name: Build All Packages
4758
run: pnpm build
48-
env:
49-
DATABASE_URL: "postgresql://test:test@localhost:5432/test"
5059
deploy-trigger:
5160
needs: [test, changes]
5261
if: github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)