Skip to content

Commit f502d34

Browse files
committed
fix: CI pipeline
1 parent 719ac20 commit f502d34

File tree

2 files changed

+20
-7
lines changed

2 files changed

+20
-7
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,32 @@ on:
66

77
jobs:
88
build:
9-
name: Build and Test
109
runs-on: ubuntu-latest
10+
11+
env:
12+
DATABASE_URL: ${{ secrets.DATABASE_URL }}
13+
1114
steps:
12-
- name: Check out code
15+
- name: Checkout repository
1316
uses: actions/checkout@v4
14-
- name: Setup Node.js enviroment
17+
18+
- name: Setup pnpm
19+
uses: pnpm/action-setup@v4
20+
with:
21+
version: 9
22+
run_install: false
23+
24+
- name: Setup Node.js
1525
uses: actions/setup-node@v4
1626
with:
1727
node-version: 22
18-
- name: Install pnpm
19-
run: npm install -g pnpm
28+
cache: "pnpm"
29+
2030
- name: Install dependencies
2131
run: pnpm install
22-
- name: Build
32+
33+
- name: Build monorepo
2334
run: pnpm run build
24-
- name: Test
35+
36+
- name: Run tests
2537
run: pnpm run test

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ node_modules
1212
.env.test.local
1313
.env.production.local
1414
.env.test
15+
.env.production
1516
apps/**/.env
1617
apps/**/.env.local
1718

0 commit comments

Comments
 (0)