Skip to content

Commit

Permalink
chore: add lint to test task
Browse files Browse the repository at this point in the history
  • Loading branch information
rycont committed Nov 17, 2024
1 parent 16daaf0 commit f1eb818
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ jobs:
with:
deno-version: v2.x

- name: Run linter
run: deno lint

- name: Run tests
run: deno task test

Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,5 @@ jobs:
with:
deno-version: v2.x

- name: Run linter
run: deno lint

- name: Run tests
run: deno task test
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"tasks": {
"coverage": "rm -rf ./cov && deno test --allow-read --parallel --coverage=cov && deno coverage --detailed ./cov && rm -rf ./cov",
"coverage-list": "rm -rf ./cov && deno test --allow-read --parallel --coverage=cov && deno coverage ./cov && rm -rf ./cov",
"test": "deno run -A npm:madge --circular --extensions ts ./ && deno test --allow-read --parallel && deno publish --dry-run",
"test": "deno run -A npm:madge --circular --extensions ts ./ && deno test --allow-read --parallel && deno publish --dry-run && deno lint",
"typedoc": "deno run --allow-read --allow-write --allow-env --allow-run ./create-docs.ts",
"vitepress-dev": "deno run -A npm:vitepress dev docs",
"vitepress-build": "deno run -A npm:vitepress build docs",
Expand Down

0 comments on commit f1eb818

Please sign in to comment.