tests: more robust type checking in CI (#207)
This commit is contained in:
@@ -68,10 +68,19 @@ jobs:
|
|||||||
run: set "PUPPETEER_PRODUCT=chrome" && deno run -A --unstable https://deno.land/x/puppeteer@9.0.2/install.ts
|
run: set "PUPPETEER_PRODUCT=chrome" && deno run -A --unstable https://deno.land/x/puppeteer@9.0.2/install.ts
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: deno test -A --no-check=remote
|
run: deno test -A
|
||||||
|
|
||||||
|
- name: Type check CLI
|
||||||
|
run: deno check --remote cli.ts
|
||||||
|
|
||||||
- name: Type check website
|
- name: Type check website
|
||||||
run: deno cache --no-check=remote www/main.ts
|
run: deno check --remote www/main.ts
|
||||||
|
|
||||||
- name: Type check examples/counter
|
- name: Type check examples/counter
|
||||||
run: deno cache --no-check=remote examples/counter/main.ts
|
run: deno check --remote examples/counter/main.ts
|
||||||
|
|
||||||
|
- name: Type check tests/fixture
|
||||||
|
run: deno check tests/fixture/main.ts
|
||||||
|
|
||||||
|
- name: Type check tests/fixture_error
|
||||||
|
run: deno check tests/fixture_error/main.ts
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"tasks": {
|
"tasks": {
|
||||||
"test": "deno test -A --no-check=remote && deno check www/main.ts && deno check examples/counter/main.ts",
|
"test": "deno test -A --no-check=remote && deno check www/main.ts && deno check cli.ts",
|
||||||
"fixture": "deno run -A --watch ./tests/fixture/main.ts & deno run -A ./cli.ts manifest --watch ./tests/fixture",
|
"fixture": "deno run -A --watch ./tests/fixture/main.ts & deno run -A ./cli.ts manifest --watch ./tests/fixture",
|
||||||
"www": "deno run -A --watch=www/static,docs/ ./www/main.ts & deno run -A ./cli.ts manifest --watch ./www"
|
"www": "deno run -A --watch=www/static,docs/ ./www/main.ts & deno run -A ./cli.ts manifest --watch ./www"
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -231,5 +231,5 @@ fresh manifest
|
|||||||
README_MD,
|
README_MD,
|
||||||
);
|
);
|
||||||
|
|
||||||
await manifest(directory);
|
await manifest(directory, false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user