Skip to content

Commit 9cf397e

Browse files
committed
☕ Perform pre-cache prior to test in CI
1 parent e0a3bd4 commit 9cf397e

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ jobs:
7878
${DENOPS_TEST_NVIM} --version
7979
env:
8080
DENOPS_TEST_NVIM: ${{ steps.nvim.outputs.executable }}
81+
- name: Perform pre-cache
82+
run: deno cache ./denops/@denops-private/mod.ts
8183
- name: Test
8284
run: deno task test:coverage
8385
env:

denops/@denops-private/mod.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/**
2+
* Denops entry file to perform pre-cache from CLI.
3+
*
4+
* ```
5+
* deno cache /path/to/denops.vim/denops/@denops-private/mod.ts
6+
* ```
7+
*
8+
* @module
9+
*/
10+
export * from "./cli.ts";
11+
export * from "./worker.ts";

0 commit comments

Comments
 (0)