Skip to content

Commit 84599aa

Browse files
authored
Merge pull request #37 from vim-denops/fix-for-import-map
☕ Add --config option to deno cache command in workflows
2 parents 1fd4956 + 6c44767 commit 84599aa

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ on:
1313
workflow_dispatch:
1414
inputs:
1515
denops_branch:
16-
description: 'Denops revision to test'
16+
description: "Denops revision to test"
1717
required: false
18-
default: 'main'
18+
default: "main"
1919
verbose:
2020
type: boolean
2121
required: false
22-
description: 'Enable verbose output'
22+
description: "Enable verbose output"
2323
default: false
2424

2525
defaults:
@@ -129,7 +129,8 @@ jobs:
129129
130130
- name: Perform pre-cache
131131
run: |
132-
deno cache ${DENOPS_TEST_DENOPS_PATH}/denops/@denops-private/mod.ts ./mod.ts
132+
deno cache --config ${DENOPS_TEST_DENOPS_PATH}/denops/@denops-private/deno.jsonc ${DENOPS_TEST_DENOPS_PATH}/denops/@denops-private/mod.ts
133+
deno cache ./mod.ts
133134
134135
- name: Run tests
135136
run: deno task test:coverage

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ on:
104104
workflow_dispatch:
105105
inputs:
106106
denops_branch:
107-
description: 'Denops branch to test'
107+
description: "Denops branch to test"
108108
required: false
109-
default: 'main'
109+
default: "main"
110110

111111
# Use 'bash' as default shell even on Windows
112112
defaults:
@@ -177,7 +177,7 @@ jobs:
177177
178178
- name: Perform pre-cache
179179
run: |
180-
deno cache ${DENOPS_TEST_DENOPS_PATH}/denops/@denops-private/mod.ts
180+
deno cache --config ${DENOPS_TEST_DENOPS_PATH}/denops/@denops-private/deno.jsonc ${DENOPS_TEST_DENOPS_PATH}/denops/@denops-private/mod.ts
181181
deno cache ./denops/your_plugin/main.ts
182182
183183
- name: Run tests

0 commit comments

Comments
 (0)