File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 16
16
17
17
- uses : actions/setup-node@v3
18
18
with :
19
- node-version : " 16 "
19
+ node-version : ' 16 '
20
20
21
21
- run : |
22
22
npm clean-install
32
32
- uses : actionsx/prettier@v2
33
33
with :
34
34
args : --check "{src,test}/**/*.ts"
35
+
36
+ start :
37
+ runs-on : ubuntu-latest
38
+ steps :
39
+ - run : docker build . -t pgmeta
40
+ - run : docker run --rm -it pgmeta node dist/server/app.js gen types typescript
Original file line number Diff line number Diff line change 4
4
"postgres-meta" : " dist/server/app.js"
5
5
},
6
6
"pkg" : {
7
+ "outputPath" : " bin" ,
7
8
"assets" : [" dist/**/*.sql" ],
8
9
"scripts" : [" node_modules/pg-format/lib/reserved.js" ]
9
10
}
Original file line number Diff line number Diff line change 24
24
"gen:types:typescript" : " ts-node-dev --quiet src/server/app.ts gen types typescript" ,
25
25
"start" : " NODE_ENV=production node dist/server/app.js" ,
26
26
"dev" : " trap 'npm run db:clean' INT && run-s db:clean db:run && NODE_ENV=development ts-node-dev src/server/app.ts | pino-pretty --colorize" ,
27
- "pkg" : " run-s clean build:server && pkg --out-path dist .pkg.config.json" ,
27
+ "pkg" : " run-s clean build && pkg .pkg.config.json" ,
28
28
"test" : " run-s db:clean db:run test:run db:clean" ,
29
29
"db:clean" : " cd test/db && docker-compose down" ,
30
30
"db:run" : " cd test/db && docker-compose up --detach && sleep 5" ,
You can’t perform that action at this time.
0 commit comments