diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..7917202 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,23 @@ +name: Publish +on: + push: + branches: + - main + - jsr + +jobs: + publish: + runs-on: ubuntu-latest + + permissions: + contents: read + id-token: write + + steps: + - uses: actions/checkout@v4 + + - name: Install Deno + uses: denoland/setup-deno@v1 + + - name: Publish package + run: deno publish diff --git a/deno.json b/deno.json new file mode 100644 index 0000000..ea74619 --- /dev/null +++ b/deno.json @@ -0,0 +1,5 @@ +{ + "name": "@koddsson/co-authored-by", + "version": "0.4.2", + "exports": "./index.js" +}