Skip to content

Commit

Permalink
feat: publish to JSR
Browse files Browse the repository at this point in the history
  • Loading branch information
eliassjogreen committed Mar 5, 2024
1 parent f0bb6b5 commit 5e1ab16
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish

on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
- run: deno publish
2 changes: 1 addition & 1 deletion benchmarks/popular_encodings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { InnerType, Strings, Struct, u32, u8 } from "../mod.ts";
import {
decode as msgpackRead,
encode as msgpackWrite,
} from "https://deno.land/std@0.208.0/msgpack/mod.ts";
} from "jsr:@std/msgpack@0.218";

const descriptor = {
handIndex: u8,
Expand Down
5 changes: 5 additions & 0 deletions deno.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "@denosaurs/byte-type",
"version": "0.3.1",
"exports": "./mod.ts"
}
2 changes: 1 addition & 1 deletion test_deps.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "https://deno.land/std@0.204.0/assert/mod.ts";
export * from "jsr:@std/assert@0.218";

0 comments on commit 5e1ab16

Please sign in to comment.