Skip to content

Commit b548cf5

Browse files
committed
chore: release
1 parent 5bc14be commit b548cf5

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/workflows/release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Release
2+
on:
3+
push:
4+
tags:
5+
- 'v*.*.*'
6+
permissions:
7+
contents: write
8+
id-token: write
9+
jobs:
10+
publish:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: '24'
17+
registry-url: 'https://registry.npmjs.org'
18+
- run: yarn install --frozen-lockfile
19+
- run: yarn build
20+
- run: npm publish
21+
- name: Create GitHub Release
22+
uses: softprops/action-gh-release@v2
23+
with:
24+
generate_release_notes: true

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,9 @@
4141
"dependencies": {
4242
"mdast-util-from-markdown": "^1.2.0",
4343
"ts-dedent": "^2.2.0"
44+
},
45+
"repository": {
46+
"type": "git",
47+
"url": "git@github.com:k4a-l/dirtreeist.git"
4448
}
4549
}

0 commit comments

Comments
 (0)