Skip to content

Commit 61016e6

Browse files
committed
chore: add prepare step
1 parent dceae6d commit 61016e6

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.changeset/cyan-weeks-push.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'react-dsv-import': patch
3+
---
4+
5+
Add prepare step

.github/workflows/cd-registries.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ jobs:
3333
- name: Build
3434
run: pnpm build
3535

36+
- name: Prepare packages
37+
run: pnpm prepublish
38+
3639
- name: Publish packages on NPM
3740
run: pnpm publish -r --no-git-checks
3841
env:

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"build": "pnpm exec nx run-many --target=build --parallel",
55
"dev": "pnpm exec nx watch --all -- nx run \\$NX_PROJECT_NAME:build",
66
"lint": "pnpm exec nx run-many --target=lint --parallel",
7+
"prepublish": "pnpm exec nx run-many --target=prepare --parallel",
78
"test": "pnpm exec nx run-many --target=test --parallel --output-style=stream --skip-nx-cache",
89
"test:watch": "pnpm exec nx run-many --target=test --watch --parallel --output-style=stream",
910
"version": "changeset version",

0 commit comments

Comments
 (0)