Skip to content

Commit dc69ad3

Browse files
committed
feat(ci): enable caching for deno setup in CI workflows
1 parent 736ad26 commit dc69ad3

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ jobs:
1313
- uses: denoland/setup-deno@v2
1414
with:
1515
deno-version: ${{ env.DENO_VERSION }}
16+
cache: true
1617
- name: Check fmt & lint & type check & test
1718
run: deno task check

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@ jobs:
2121
- uses: denoland/setup-deno@v2
2222
with:
2323
deno-version: ${{ env.DENO_VERSION }}
24+
cache: true
2425
- name: Publish on tag
2526
run: deno run --allow-env --allow-run=deno --allow-read --allow-write=deno.jsonc jsr:@david/[email protected]

.github/workflows/udd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ jobs:
2020
- uses: denoland/setup-deno@v2
2121
with:
2222
deno-version: ${{ env.DENO_VERSION }}
23+
cache: true
2324
- name: Update
2425
run: deno task update

0 commit comments

Comments
 (0)