Skip to content

Commit

Permalink
Fix lint action
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Buryak committed Oct 5, 2023
1 parent 9f4ed60 commit b0186de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml → .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: Lint

on:
push:
Expand All @@ -19,7 +19,7 @@ jobs:

- name: Setup Deno
# uses: denoland/setup-deno@v1
uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.2
uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.2
with:
deno-version: v1.x

Expand All @@ -30,8 +30,8 @@ jobs:
- name: Run linter
run: deno lint

- name: Run tests
run: deno test -A
# - name: Run tests
# run: deno test -A

- name: Build
run: deno task build
2 changes: 2 additions & 0 deletions scripts/utils.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// deno-lint-ignore-file no-explicit-any

export function makeCJS(content: any) {
return `module.exports = ${JSON.stringify(content, null, 2)};`
}

0 comments on commit b0186de

Please sign in to comment.