Skip to content

Commit

Permalink
fix: Bump JSR version and update workflows (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliassjogreen authored Oct 23, 2024
1 parent db15a43 commit 85be3ec
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Install deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
deno-version: v2.x

- name: install webkit2gtk (Linux)
if: matrix.os == 'ubuntu-latest'
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ jobs:
- name: Install stable deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
deno-version: v2.x

- name: Run check
run: deno task check

- name: Run test:doc
run: deno task test:doc
# TODO: Re-enable these tests
# - name: Run test:doc
# run: deno task test:doc

- name: Run fmt
run: deno task fmt:check
Expand Down
4 changes: 2 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webview/webview",
"version": "0.8.0",
"version": "0.8.1",
"exports": "./mod.ts",
"lock": false,
"tasks": {
Expand All @@ -17,5 +17,5 @@
"fmt": {
"exclude": ["webview/"]
},
"imports": { "@denosaurs/plug": "jsr:@denosaurs/plug@^1.0.5" }
"imports": { "@denosaurs/plug": "jsr:@denosaurs/plug@^1.0.6" }
}
1 change: 1 addition & 0 deletions examples/ssr/worker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/// <reference lib="deno.ns" />

import { serve } from "https://deno.land/[email protected]/http/server.ts";
// deno-lint-ignore verbatim-module-syntax
import { h, ssr, tw } from "https://crux.land/[email protected]";

const Hello = (props: { name: string }) => (
Expand Down
2 changes: 1 addition & 1 deletion src/ffi.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import manifest from "../deno.json" with { type: "json" };

import { dlopen, download } from "@denosaurs/plug";
import { Webview } from "./webview.ts";
import type { Webview } from "./webview.ts";

const version = manifest.version;
const cache = Deno.env.get("PLUGIN_URL") === undefined ? "use" : "reloadAll";
Expand Down

0 comments on commit 85be3ec

Please sign in to comment.