Skip to content

Commit

Permalink
☕ Support JSR via @david/publish-on-tag
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdalisue committed Apr 6, 2024
1 parent acc3c2f commit fc3a0be
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/jsr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: jsr

env:
DENO_VERSION: 1.x

on:
push:
tags:
- "v*"

permissions:
contents: read
id-token: write

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: denoland/setup-deno@v1
with:
deno-version: ${{ env.DENO_VERSION }}
- name: Publish
run: |
deno run -A jsr:@david/[email protected]
3 changes: 3 additions & 0 deletions deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"name": "@core/unknownutil",
"version": "0.0.0",
"exports": "./mod.ts",
"lock": false,
"imports": {
"https://deno.land/x/unknownutil@$MODULE_VERSION/": "./"
Expand Down

0 comments on commit fc3a0be

Please sign in to comment.