Skip to content

Commit 3c60264

Browse files
committed
[ci] build before publish
1 parent 1c7329e commit 3c60264

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/pre-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ jobs:
3939
value: ${{ github.event.inputs.version }}
4040

4141
- run: npm ci
42-
42+
- run: npm run build --if-present
4343
- run: npm publish --access public --tag next

.github/workflows/publish_npmjs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ jobs:
2121
registry-url: 'https://registry.npmjs.org'
2222

2323
- run: npm ci
24-
24+
- run: npm run build --if-present
2525
- run: npm publish --provenance --access public

0 commit comments

Comments
 (0)