Skip to content

Commit 69d3d0e

Browse files
committed
fix: github actions
1 parent 123db08 commit 69d3d0e

File tree

5 files changed

+25
-4
lines changed

5 files changed

+25
-4
lines changed

.github/workflows/publish.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: Publish Package to npmjs
22

33
on:
4-
release:
5-
types: [published]
4+
push:
5+
if: github.ref_name == 'main'
6+
tags:
7+
- 'v*'
68

79
jobs:
810
publish:
@@ -23,7 +25,7 @@ jobs:
2325

2426
- run: npm ci --no-audit
2527

26-
- run: npm build
28+
- run: npm run build
2729

2830
- run: npm publish --provenance --access public
2931
env:

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Publish Release to GitHub
22

33
on:
44
push:
5+
if: github.ref_name == 'main'
56
tags:
67
- 'v*'
78

@@ -21,5 +22,4 @@ jobs:
2122
with:
2223
generateReleaseNotes: 'true'
2324
prerelease: 'false'
24-
reactions: +1,heart,rocket
2525
summaryEnabled: 'false'

bun.lockb

32 Bytes
Binary file not shown.

package-lock.json

+16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,8 @@
7272
"prettier": "^4.0.0-alpha.10",
7373
"typescript": "^5.6.3",
7474
"typescript-eslint": "^8.14.0"
75+
},
76+
"optionalDependencies": {
77+
"@rollup/rollup-linux-x64-gnu": "^4.27.2"
7578
}
7679
}

0 commit comments

Comments
 (0)