From 68665a1c0b98c8d8bda3de7974959f1ca6531547 Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Tue, 22 Apr 2025 09:59:41 +0800 Subject: [PATCH 1/3] chore: publish to jsr --- jsr.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 jsr.json diff --git a/jsr.json b/jsr.json new file mode 100644 index 0000000..de0bb39 --- /dev/null +++ b/jsr.json @@ -0,0 +1,6 @@ +{ + "name": "@eggjs/read-env-value", + "version": "1.0.0", + "license": "MIT", + "exports": "./src/index.ts" +} From df2dc7623e1672009fa4ee3f8916b042430d95e3 Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Tue, 22 Apr 2025 10:07:59 +0800 Subject: [PATCH 2/3] f --- .github/workflows/release-to-jsr.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/release-to-jsr.yml diff --git a/.github/workflows/release-to-jsr.yml b/.github/workflows/release-to-jsr.yml new file mode 100644 index 0000000..a4fb308 --- /dev/null +++ b/.github/workflows/release-to-jsr.yml @@ -0,0 +1,19 @@ +name: Release to JSR +on: + push: + branches: + - master + +jobs: + release: + runs-on: ubuntu-latest + + permissions: + contents: read + id-token: write + + steps: + - uses: actions/checkout@v4 + + - name: Publish package + run: npx jsr publish From be7023effa04376eb88493eff6fd0ccd0db02641 Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Tue, 22 Apr 2025 10:08:11 +0800 Subject: [PATCH 3/3] f --- .github/workflows/release-to-jsr.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release-to-jsr.yml b/.github/workflows/release-to-jsr.yml index a4fb308..48ba766 100644 --- a/.github/workflows/release-to-jsr.yml +++ b/.github/workflows/release-to-jsr.yml @@ -1,4 +1,5 @@ name: Release to JSR + on: push: branches: