Skip to content

Commit 6bddd79

Browse files
committed
chore: automated release notes
1 parent 4aff057 commit 6bddd79

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
name: Release
2+
23
on:
34
release:
45
types: [published]
56

7+
permissions:
8+
contents: write
9+
610
jobs:
711
publish:
812
runs-on: ubuntu-latest
@@ -12,8 +16,17 @@ jobs:
1216
with:
1317
node-version: '22'
1418
registry-url: 'https://registry.npmjs.org'
19+
1520
- run: npm ci
1621
- run: npm run build
1722
- run: npm publish
1823
env:
19-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
24+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
25+
26+
notes:
27+
needs: publish
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: softprops/action-gh-release@v2
31+
with:
32+
generate_release_notes: true

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wikistxr",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "Lightweight wikitext library for syntax highlighting and editing.",
55
"type": "module",
66
"main": "./dist/cjs/index.js",

0 commit comments

Comments
 (0)