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