Skip to content

Commit 1e59beb

Browse files
authored
ci(*): add build step before publishing package (#486)
This pull request adds a build step to the publish workflow in `.github/workflows/publish.yml` to ensure the project is built before publishing. Workflow improvements: * Added a `Build` step that runs `npm run build --if-present` prior to publishing the package, ensuring any necessary build artifacts are generated before the publish step.
1 parent ba30607 commit 1e59beb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,8 @@ jobs:
3434
- name: Set up node_modules
3535
run: npm ci
3636

37+
- name: Build
38+
run: npm run build --if-present
39+
3740
- name: Publish
3841
run: npm run publish-package

0 commit comments

Comments
 (0)