Skip to content

Commit 5fd34b3

Browse files
committed
chore: don't run test on publishing
Tests are run in a seperate task. See the GitHub release workflows.
1 parent 4e372d4 commit 5fd34b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release-npmjs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ jobs:
2525
registry-url: "https://registry.npmjs.org"
2626
- name: Install dependencies
2727
run: npm ci
28-
- name: Publish (build and test in prepublishOnly hook)
28+
- name: Publish (build in prepublishOnly hook)
2929
run: npm publish --provenance --access public

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"coverage": "c8 --reporter=lcovonly npm test",
6464
"format": "biome check --linter-enabled=false --write .",
6565
"lint": "biome lint --error-on-warnings .",
66-
"prepublishOnly": "npm run clean && npm run build && npm test",
66+
"prepublishOnly": "npm run clean && npm run build",
6767
"test": "npm run test:dev && npm run test:prod",
6868
"test:dev": "NODE_ENV=development node --test && npm run check",
6969
"test:prod": "node --test && npm run check",

0 commit comments

Comments
 (0)