Skip to content

Commit ef3a04f

Browse files
committed
fix: fix the release workflow
1 parent 577b623 commit ef3a04f

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,19 @@ jobs:
99
release:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
with:
1414
fetch-depth: 0
1515

16-
- uses: actions/setup-node@v3
16+
- uses: actions/setup-node@v4
1717
with:
18-
node-version: 16.x
18+
node-version: 20.x
19+
cache: "npm"
1920

20-
- run: npx changelogithub
21+
- name: Install Dependencies
22+
run: npm install
23+
24+
- name: Generate Changelog and Release
25+
run: npx changelogithub
2126
env:
2227
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
"test": "bun test"
2929
},
3030
"files": [
31-
"dist"
31+
"dist",
32+
"README.md",
33+
"LICENSE"
3234
],
3335
"keywords": [
3436
"bun",

0 commit comments

Comments
 (0)