Skip to content

Commit e39a7db

Browse files
committed
chore: update release workflow to run build step before publishing
- Added a conditional `npm run build` step to the release workflow. - Ensures the project is built before creating GitHub Release and publishing to npm.
1 parent 735719a commit e39a7db

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

.changeset/funny-teams-work.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@addon-core/storage": patch
3+
---
4+
5+
update release workflow to run build step before publishing

.github/workflows/release-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ jobs:
4242
echo "found=false" >> "$GITHUB_OUTPUT"
4343
fi
4444
45+
- name: Build
46+
if: steps.check_changesets.outputs.found == 'false'
47+
run: npm run build
48+
4549
- name: Create GitHub Release and Publish to npm via Changesets
4650
if: steps.check_changesets.outputs.found == 'false'
4751
uses: changesets/action@v1

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"vcs": {
2020
"enabled": true,
2121
"clientKind": "git",
22-
"useIgnoreFile": true
22+
"useIgnoreFile": false
2323
},
2424
"files": {
2525
"includes": [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"biome check --write --unsafe",
4949
"npm run test:related --"
5050
],
51-
"*.{json,md,mdx,yml,yaml,css,scss,html}": [
51+
"*.{json,md,mdx,css,scss,html}": [
5252
"biome format --write"
5353
]
5454
},

0 commit comments

Comments
 (0)