diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..ad5781d --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,19 @@ +name: Publish +on: + push: + branches: + - main + +jobs: + publish: + runs-on: ubuntu-latest + + permissions: + contents: read + id-token: write + + steps: + - uses: actions/checkout@v4 + + - name: Publish package + run: npx jsr publish diff --git a/jsr.json b/jsr.json new file mode 100644 index 0000000..f35e0fc --- /dev/null +++ b/jsr.json @@ -0,0 +1,5 @@ +{ + "name": "@rabbit-company/password-entropy", + "version": "2.0.1", + "exports": "./src/password-entropy.ts" +}