Skip to content

Commit aec6b4b

Browse files
committed
chore(ci): build only lib when publishing to prevent lock-file issues in gh-actions
1 parent 5a4a517 commit aec6b4b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@
2626
"scripts": {
2727
"preinstall": "npx only-allow pnpm",
2828
"build": "turbo run build",
29+
"build:lib": "pnpm --filter @shaggytools/nhtsa-api-wrapper run build",
30+
"build:docs": "pnpm --filter docs run build",
2931
"dev": "turbo run dev --parallel",
32+
"dev:lib": "pnpm --filter @shaggytools/nhtsa-api-wrapper run dev",
3033
"dev:docs": "pnpm --filter docs run dev",
3134
"lint": "turbo run lint",
3235
"lint:fix": "turbo run lint:fix",
@@ -35,7 +38,7 @@
3538
"coverage": "pnpm --filter @shaggytools/nhtsa-api-wrapper run coverage",
3639
"clean": "turbo run clean",
3740
"ci:version": "changeset version",
38-
"ci:publish": "pnpm run build && pnpm publish -r"
41+
"ci:publish": "pnpm run build:lib && pnpm publish -r"
3942
},
4043
"devDependencies": {
4144
"@changesets/cli": "2.26.1",

0 commit comments

Comments
 (0)