Skip to content

Commit 96e2773

Browse files
committed
get ready
1 parent 844ea4d commit 96e2773

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

.github/workflows/ci.yml

+15-4
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,35 @@ on: [push, pull_request]
55
jobs:
66
test:
77
runs-on: ubuntu-latest
8+
permissions:
9+
contents: read
10+
id-token: write
811
steps:
9-
- uses: actions/checkout@master
10-
- uses: denoland/setup-deno@main
11-
with:
12-
deno-version: "1.x"
12+
- uses: actions/checkout@v4
13+
14+
- uses: denoland/setup-deno@v1
15+
1316
- name: Run fmt
1417
run: |
1518
deno fmt --check
19+
1620
- name: Run lint
1721
run: |
1822
deno lint
23+
1924
- name: Check project
2025
run: |
2126
deno task check:types
27+
2228
- name: Install Chromium
2329
run: deno run -A --unstable https://deno.land/x/[email protected]/install.ts
2430
env:
2531
PUPPETEER_PRODUCT: chrome
32+
2633
- name: Run tests
2734
run: |
2835
deno task test
36+
37+
- name: Publish package (tag only)
38+
if: startsWith(github.ref, 'refs/tags/')
39+
run: deno publish

deno.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@deno/gfm",
3-
"version": "0.6.1",
3+
"version": "0.6.2",
44
"exports": "./mod.ts",
55
"imports": {
66
"emoji": "jsr:@denosaurs/[email protected]",

test/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ Deno.test(
243243

244244
Deno.test("image title and no alt", () => {
245245
const markdown = `![](image.jpg "best title")`;
246-
const expected = `<p><img src="image.jpg" title="best title" /></p>\n`;
246+
const expected = `<p><img src="image.jpg" alt="" title="best title" /></p>\n`;
247247

248248
const html = render(markdown);
249249
assertEquals(html, expected);

0 commit comments

Comments
 (0)