Skip to content

Commit

Permalink
chore: port to jsr and dnt
Browse files Browse the repository at this point in the history
  • Loading branch information
vicary committed Mar 23, 2024
1 parent 4ad266c commit de14758
Show file tree
Hide file tree
Showing 26 changed files with 199 additions and 12,884 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/jsr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish JSR
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

- name: Publish package
run: deno publish
24 changes: 24 additions & 0 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish NPM
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

- name: Publish package
run: |-
deno run -A dnt.ts
cd dnt
npm publish
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -188,5 +188,5 @@ buck-out/
# Local notes
.*.md

# esbuild output
dist/
# Deno DMT output directory
dnt/
Loading

0 comments on commit de14758

Please sign in to comment.