Skip to content

Commit

Permalink
Publish on JSR
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Candeia <[email protected]>
  • Loading branch information
mcandeia committed Aug 7, 2024
1 parent 1622f20 commit a8f7e65
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/publish.yaml
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
3 changes: 3 additions & 0 deletions deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"version": "0.5.0",
"name": "@deco/deno-ast-wasm",
"exports": "./mod.ts",
"tasks": {
"build": "deno run -A --unstable --config deno.jsonc https://raw.githubusercontent.com/denoland/wasmbuild/0.17.1/main.ts",
// Use a canary / local version of wasmbuild
Expand Down
2 changes: 1 addition & 1 deletion mod.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Program } from "https://esm.sh/v130/@swc/[email protected]";
import type { Program } from "npm:@swc/[email protected]";
import { instantiate } from "./lib/deno_ast_wasm.generated.js";

// deno-lint-ignore no-explicit-any
Expand Down

0 comments on commit a8f7e65

Please sign in to comment.