Skip to content

Commit

Permalink
Add jsr.json and publish.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zigazajc007 committed Aug 11, 2024
1 parent a2ba92f commit fe06009
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions jsr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "@rabbit-company/password-entropy",
"version": "2.0.1",
"exports": "./src/password-entropy.ts"
}

0 comments on commit fe06009

Please sign in to comment.