Skip to content

Commit

Permalink
fix: github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vuolter committed Nov 17, 2024
1 parent 123db08 commit 69d3d0e
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Publish Package to npmjs

on:
release:
types: [published]
push:
if: github.ref_name == 'main'
tags:
- 'v*'

jobs:
publish:
Expand All @@ -23,7 +25,7 @@ jobs:

- run: npm ci --no-audit

- run: npm build
- run: npm run build

- run: npm publish --provenance --access public
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Publish Release to GitHub

on:
push:
if: github.ref_name == 'main'
tags:
- 'v*'

Expand All @@ -21,5 +22,4 @@ jobs:
with:
generateReleaseNotes: 'true'
prerelease: 'false'
reactions: +1,heart,rocket
summaryEnabled: 'false'
Binary file modified bun.lockb
Binary file not shown.
16 changes: 16 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,8 @@
"prettier": "^4.0.0-alpha.10",
"typescript": "^5.6.3",
"typescript-eslint": "^8.14.0"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.27.2"
}
}

0 comments on commit 69d3d0e

Please sign in to comment.