Skip to content

Commit 036879a

Browse files
committed
feat: update tasks
1 parent 86f82db commit 036879a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/.common.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
deno-version: ${{ matrix.deno-version }}
3939

4040
- name: Check
41-
run: deno task check
41+
run: deno task check:lint
4242

4343
- name: Test
4444
run: deno task test:lcov

deno.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
"run:watch": "deno run --watch src/main.ts",
77
"cache": "deno cache --lock-write src/**/*.ts test/**/*.ts",
88
"cache:reload": "deno cache --lock-write --reload src/**/*.ts test/**/*.ts",
9-
"check": "deno check src/**/*.ts test/**/*.ts && deno lint && deno fmt --check",
109
"test": "deno test",
1110
"test:watch": "deno test --watch",
1211
"test:lcov": "deno test --coverage && deno coverage --lcov --output=cov.lcov",
13-
"bump": "deno task check && deno task test && deno publish --dry-run && pnpm i -C npm && pnpm run -C npm build && pnpm publish -C npm --no-git-checks --dry-run && pnpm run -C npm clean && echo && echo ✅ Checks passed, start bumping... && echo && deno run -A jsr:@mys/bump@1"
12+
"check:lint": "deno check src/**/*.ts test/**/*.ts && deno lint && deno fmt --check",
13+
"check:all": "deno task check:lint && deno task test && deno publish --allow-dirty --dry-run && pnpm i -C npm && pnpm run -C npm build && pnpm publish -C npm --no-git-checks --dry-run && pnpm run -C npm clean && echo && echo ✅ All checks passed && echo",
14+
"bump": "deno task check:all && deno run -A jsr:@mys/bump@1"
1415
},
1516
"imports": {
1617
"@std/assert": "jsr:@std/assert@0.220"

0 commit comments

Comments
 (0)