File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,35 +3,26 @@ name: Node.js CI
33on : [push]
44
55env :
6- DATABASE_TYPE : postgresql
6+ DATABASE_URL : " postgresql://user:pass@localhost:5432/dummy "
77 SKIP_DB_CHECK : 1
88
99jobs :
1010 build :
1111 if : github.repository == 'umami-software/umami'
1212 runs-on : ubuntu-latest
1313
14- strategy :
15- matrix :
16- include :
17- - node-version : 18.18
18- pnpm-version : 10
19- db-type : postgresql
20-
2114 steps :
22- - uses : actions/checkout@v4
23- - uses : pnpm/action-setup@v4 # required so that setup-node will work
24- with :
25- version : ${{ matrix.pnpm-version }}
26- run_install : false
27- - name : Use Node.js ${{ matrix.node-version }}
28- uses : actions/setup-node@v4
29- with :
30- node-version : ${{ matrix.node-version }}
31- cache : ' pnpm'
32- env :
33- DATABASE_TYPE : ${{ matrix.db-type }}
34- - run : npm install --global pnpm
35- - run : pnpm install
36- - run : pnpm test
37- - run : pnpm build
15+ - uses : actions/checkout@v4
16+ - uses : pnpm/action-setup@v4
17+ with :
18+ version : 10
19+ run_install : false
20+ - name : Use Node.js 18.18
21+ uses : actions/setup-node@v4
22+ with :
23+ node-version : 18.18
24+ cache : " pnpm"
25+ - run : npm install --global pnpm
26+ - run : pnpm install
27+ - run : pnpm test
28+ - run : pnpm build
You can’t perform that action at this time.
0 commit comments