Skip to content

Commit

Permalink
feat(package.json): update preserve command to run migrations first
Browse files Browse the repository at this point in the history
the helm tool now requires the datase tables to exist before running

SXT-1015

Signed-off-by: Alex Marshall <[email protected]>
  • Loading branch information
alexhq committed Jul 27, 2023
1 parent 9857711 commit 7846f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"download-helm-charts": "if [ -r dist/src/download-helm-charts.js ]; then node dist/src/download-helm-charts.js; else node src/download-helm-charts.js; fi",
"copy-helm-fixtures": "tar -xf ./test/fixtures/helmCharts.tar.gz -C .",
"remove-helm-fixtures": "rm -rf ./helmCharts/*",
"preserve": "npm run download-helm-charts && npm run migrate",
"preserve": " npm run migrate && npm run download-helm-charts",
"serve": "if [ -r dist/src/index.js ]; then node dist/src/index.js ; else node src/index.js; fi",
"generate-swagger": "node src/generateSwagger.js",
"pretest": "npm run copy-helm-fixtures",
Expand Down

0 comments on commit 7846f07

Please sign in to comment.