Skip to content

Commit 8bca83d

Browse files
committed
fix: added first version of jsr.io support
1 parent e9bec80 commit 8bca83d

3 files changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
jobs:
66
build:
77
runs-on: ubuntu-latest
8+
9+
permissions:
10+
contents: read
11+
id-token: write
12+
813
steps:
914
- name: Checkout
1015
uses: actions/checkout@v3
@@ -23,6 +28,9 @@ jobs:
2328
- name: Run Tests
2429
run: npm run test:run
2530

31+
- name: Publish package
32+
run: npx jsr publish
33+
2634
- name: Build
2735
run: npm run build
2836

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: TriPSs/conventional-changelog-action@v5
1717
with:
1818
github-token: ${{ secrets.PA_TOKEN }}
19-
version-file: './package.json,./package-lock.json'
19+
version-file: './package.json,./package-lock.json,./jsr.json'
2020
- name: create release
2121
uses: actions/create-release@v1
2222
if: ${{ steps.changelog.outputs.skipped == 'false' }}

jsr.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "@nauverse/tailwind-dot-grid-backgrounds",
3+
"version": "1.2.7",
4+
"exports": "./src/index.ts"
5+
}

0 commit comments

Comments
 (0)