Skip to content

Commit

Permalink
Disable tests on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
cndreisbach committed Nov 14, 2024
1 parent 1365e11 commit 64b9ced
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"lint": "eslint src",
"pretest": "npm run lint",
"test": "mocha test",
"prepublish": "in-publish && npm run test && npm run build || not-in-publish",
"prepublish": "in-publish && npm run build || not-in-publish",
"publish:major": "npm version major && npm publish",
"publish:minor": "npm version minor && npm publish",
"publish:patch": "npm version patch && npm publish",
Expand Down Expand Up @@ -82,5 +82,13 @@
"access": "restricted",
"registry": "https://packages.atlassian.com/api/npm/atlassian-npm/",
"@loomhq:registry": "https://packages.atlassian.com/api/npm/atlassian-npm/"
},
"mocha": {
"require": [
"@babel/register",
"test/setup"
],
"check-leaks": true,
"throw-deprecation": true
}
}

0 comments on commit 64b9ced

Please sign in to comment.