From 06e9a2a3bf490a696139b97c96bec940daa12c5e Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Wed, 24 Apr 2024 23:07:00 +0000 Subject: [PATCH] Publish 2.1.0 on jsr --- .github/workflows/publish-jsr.yml | 15 +++++++++++++++ jsr.json | 13 +++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .github/workflows/publish-jsr.yml create mode 100644 jsr.json diff --git a/.github/workflows/publish-jsr.yml b/.github/workflows/publish-jsr.yml new file mode 100644 index 0000000..6d7bb0c --- /dev/null +++ b/.github/workflows/publish-jsr.yml @@ -0,0 +1,15 @@ +name: Publish packge to jsr +on: + push: + branches: + - main +jobs: + publish: + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + steps: + - uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4 + - run: npm install -g jsr + - run: jsr publish --allow-slow-types diff --git a/jsr.json b/jsr.json new file mode 100644 index 0000000..2be3232 --- /dev/null +++ b/jsr.json @@ -0,0 +1,13 @@ +{ + "name": "@noble/secp256k1", + "version": "2.1.0", + "exports": "./index.ts", + "publish": { + "include": [ + "LICENSE", + "README.md", + "index.ts", + "jsr.json" + ] + } +} \ No newline at end of file