This commit is contained in:
parent
93bcc887b9
commit
691deb7765
2 changed files with 98 additions and 96 deletions
|
|
@ -3,14 +3,15 @@ when:
|
|||
- event: manual
|
||||
|
||||
steps:
|
||||
# - name: test
|
||||
# image: docker.io/node:hydrogen-slim
|
||||
# commands:
|
||||
# - npm ci
|
||||
# - npm run test:unit
|
||||
- name: deploy
|
||||
image: kroniak/ssh-client
|
||||
- name: test
|
||||
image: docker.io/node:hydrogen-slim
|
||||
volumes:
|
||||
- /etc/ssh:/etc/ssh
|
||||
commands:
|
||||
- npm ci
|
||||
- npm run test:unit
|
||||
- npm run deploy
|
||||
- name: deploy
|
||||
image: kroniak/ssh-client
|
||||
commands:
|
||||
- ssh root@autobaan touch deploy
|
||||
|
|
|
|||
|
|
@ -19,7 +19,8 @@
|
|||
"test:e2e": "jest --config ./test/jest-e2e.json",
|
||||
"test:unit": "jest --config ./test/jest-unit.json",
|
||||
"migrations:generate": "npx typeorm-ts-node-commonjs migration:generate -d data-source.ts database/migrations/$npm_config_name",
|
||||
"migrations": "npx typeorm-ts-node-commonjs migration:run -d data-source.ts"
|
||||
"migrations": "npx typeorm-ts-node-commonjs migration:run -d data-source.ts",
|
||||
"deploy": "pm2 deploy production"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nestjs/bull": "^0.6.3",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue