Skip to content

Commit da4e68f

Browse files
committed
Adds build script
1 parent 7f23a56 commit da4e68f

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ package-lock.json
44
.env
55
.nyc_output
66
coverage
7-
.DS_Store
7+
.DS_Store
8+
build

azure-pipelines.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ trigger:
77
- master
88
- develop
99

10+
variables:
11+
- group: postgres-express-node
12+
1013
pool:
1114
vmImage: 'ubuntu-latest'
1215

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"scripts": {
77
"start": "node ./bin/www",
88
"start:dev": "nodemon ./bin/www",
9+
"build": "exit 0",
910
"test": "NODE_ENV=test npm run reset:db && NODE_ENV=test nyc mocha --timeout 5000 server/tests/**/*.spec.js",
1011
"migrate": "sequelize db:migrate",
1112
"reset:db": "sequelize db:migrate:undo:all && npm run migrate",

server/config/config.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"development": {
33
"use_env_variable": "DATABASE_URL",
4-
"dialect": "postgres"
4+
"dialect": "postgres",
5+
"dialectOptions": {
6+
"ssl": true
7+
}
58
},
69
"test": {
710
"use_env_variable": "DATABASE_URL_TEST",

0 commit comments

Comments
 (0)