Skip to content

Commit

Permalink
fix(ci): update package.json to terminate build when error is encount…
Browse files Browse the repository at this point in the history
…ered
  • Loading branch information
chownces committed Sep 7, 2023
1 parent ac04c51 commit 11289f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"private": true,
"license": "UNLICENSED",
"scripts": {
"build": "nest build; nest build auth; nest build question",
"build": "nest build && nest build auth && nest build question",
"start:ci": "NODE_ENV=test nest start & NODE_ENV=test nest start auth & NODE_ENV=test nest start question &",
"format": "prettier --write \"apps/**/*.ts\" \"libs/**/*.ts\"",
"format:ci": "prettier --list-different \"apps/**/*.ts\" \"libs/**/*.ts\"",
Expand All @@ -22,7 +22,7 @@
"knex-script": "knex --knexfile",
"knex": "./scripts/knex.sh",
"migrate": "./scripts/migrate_latest.sh",
"migrate:all": "node ./scripts/createSqlDatabases.js; yarn migrate auth question;",
"migrate:all": "node ./scripts/createSqlDatabases.js && yarn migrate auth question",
"migrate:make": "./scripts/migrate_make.sh"
},
"dependencies": {
Expand Down

0 comments on commit 11289f5

Please sign in to comment.