Skip to content

Commit 758828c

Browse files
authored
Merge pull request #202 from ryoppippi/feature/fix-release-workflow
Feature/fix release workflow
2 parents 72e6dfd + 4715ec6 commit 758828c

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.github/workflows/release.yaml

+7-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ permissions:
1010

1111
jobs:
1212
jsr:
13+
env:
14+
PACKAGE_DIR: ${{github.workspace}}/packages/unplugin-typia
1315
runs-on: ubuntu-latest
1416
timeout-minutes: 10
1517
permissions:
@@ -23,8 +25,11 @@ jobs:
2325
with:
2426
bun-version: latest
2527
- run: bun i --frozen-lockfile
26-
- run: bun run publish
27-
working-directory: packages/unplugin-typia
28+
- name: copy files
29+
run: |
30+
cp LICENSE $PACKAGE_DIR
31+
- run: bun run publish --allow-dirty
32+
working-directory: ${{env.PACKAGE_DIR}}
2833

2934
release:
3035
needs:

packages/unplugin-typia/README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# unplugin-typia
22

3-
**Unplugin for [Typia](https://typia.io/)**
3+
**unplugin for [Typia](https://typia.io/)**
44

55
[![JSR](https://jsr.io/badges/@ryoppippi/unplugin-typia)](https://jsr.io/@ryoppippi/unplugin-typia)
66
[![JSR](https://jsr.io/badges/@ryoppippi/unplugin-typia/score)](https://jsr.io/@ryoppippi/unplugin-typia)
@@ -211,8 +211,8 @@ You can find examples in the [`examples/`](https://github.com/ryoppippi/unplugin
211211

212212
- `.ts`
213213
- `.tsx`
214-
- `mts`
215-
- `mtsx`
214+
- `.mts`
215+
- `.mtsx`
216216
- `.svelte` (only script tag with `lang="ts"`)
217217

218218
## Limitations
@@ -223,3 +223,5 @@ You can find examples in the [`examples/`](https://github.com/ryoppippi/unplugin
223223
## LICENSE
224224

225225
[MIT](./LICENSE)
226+
227+
![analytics](https://repobeats.axiom.co/api/embed/30d90d6f9ab91e8b06159ba792765a1377ea7d3e.svg 'Repobeats analytics image')

0 commit comments

Comments
 (0)