Skip to content

Commit

Permalink
chore: revert build script run before test (#957)
Browse files Browse the repository at this point in the history
  • Loading branch information
nd0ut authored Jun 6, 2023
1 parent f3b06c9 commit 747d8a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"lint:css": "stylelint './src/stylesheets/**/*.pcss'",
"lint:js": "eslint . && prettier --check \"**/*.js\"",
"test:ci": "cypress run",
"pretest": "npm run build",
"test": "npm run lint:css && npm run lint:js && npm run test:ci",
"release:prepare": "shipjs prepare",
"release:trigger": "shipjs trigger"
Expand Down
2 changes: 2 additions & 0 deletions ship.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module.exports = {
mergeStrategy: { toSameBranch: ['master'] },
pullRequestReviewers: ['nd0ut'],
// build command is empty because it will be implicitly run by the test command below
buildCommand: () => null,
testCommandBeforeRelease: () => 'npm run test',
afterPublish: ({ exec }) => exec('node ./scripts/publish-to-s3.js')
}

0 comments on commit 747d8a2

Please sign in to comment.