Skip to content

Commit

Permalink
feat(deno): make checks on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
teomrd committed Nov 1, 2024
1 parent 5ff419d commit 2cd8132
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 21 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/audit.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/on-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: On Pull Requests
on:
push:
branches:
- deno
pull_request:
branches:
- main
jobs:
lighthouseci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- run: make checks
1 change: 0 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"imports": {
"@std/assert": "jsr:@std/assert@1",
"@types/textarea-caret": "npm:@types/textarea-caret@^3.0.3",
"@types/showdown": "npm:@types/showdown@^2.0.6",
"@lhci/cli": "npm:@lhci/cli@0.14.0",
"esbuild": "npm:esbuild@^0.24.0",
"workbox": "npm:workbox@^0.0.0",
Expand Down
2 changes: 1 addition & 1 deletion deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "teomrd <mironidis.gr@gmail.com>",
"license": "GPL-3.0-only",
"dependencies": {
"@types/showdown": "^2.0.6",
"github-markdown-css": "^5.7.0",
"multiformats": "^13.3.1",
"nanoid": "^5.0.8",
Expand Down
2 changes: 1 addition & 1 deletion src/js/components/organisms/markdown/mdToHtml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ const converter = new showdown.Converter({

converter.setFlavor("github");

export const convertMarkDownToHtml = (md) => converter.makeHtml(md);
export const convertMarkDownToHtml = (md: string) => converter.makeHtml(md);

0 comments on commit 2cd8132

Please sign in to comment.