Skip to content

Commit 5fde1bb

Browse files
committed
Fix prepublishOnly: remove pytest dependency from CI publish
The prepublishOnly script called test:all which requires pytest, but pytest is not available on the GitHub Actions runner. The workflow already runs npm test before publish, so prepublishOnly only needs the node tests.
1 parent 7c918ad commit 5fde1bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

container/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"test": "node test.js",
1414
"test:plugins": "pytest tests/ -v",
1515
"test:all": "npm test && pytest tests/ -v",
16-
"prepublishOnly": "npm run test:all",
16+
"prepublishOnly": "npm test",
1717
"docs:dev": "npm run dev --prefix docs",
1818
"docs:build": "npm run build --prefix docs",
1919
"docs:preview": "npm run preview --prefix docs"

0 commit comments

Comments
 (0)