Skip to content

Commit

Permalink
Publish to JSR (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
emrahcom committed Jul 29, 2024
1 parent 09e3de7 commit 1cb4a8a
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 1 deletion.
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
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
.*
!/.gitignore

!/.github
/.github/*
!/.github/workflows
/.github/workflows/*
!/.github/workflows/publish.yml

deno.lock
3 changes: 3 additions & 0 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"name": "@zaubrik/djwt",
"version": "3.0.0",
"exports": "./mod.ts",
"tasks": {
"test": "deno test --check --unstable --allow-all"
},
Expand Down
2 changes: 1 addition & 1 deletion deps.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export {
decodeBase64Url,
encodeBase64Url,
} from "https://deno.land/std@0.221.0/encoding/base64url.ts";
} from "jsr:@std/encoding@0.224.0/base64url";

0 comments on commit 1cb4a8a

Please sign in to comment.