ci: improve CI perf by adding dependency caching (#2961)
The `denoland/setup-deno` action recently added built-in caching (https://github.com/denoland/setup-deno/pull/89, https://github.com/denoland/setup-deno/pull/98). This makes it a lot simpler to add caching of the `DENO_DIR` during CI runs, without needing `@actions/cache` manual setup. This should speed up CI runs by avoiding downloading dependencies between every run.
This commit is contained in:
@@ -17,6 +17,8 @@ jobs:
|
||||
|
||||
- name: Install Deno
|
||||
uses: denoland/setup-deno@v2
|
||||
with:
|
||||
cache: true
|
||||
|
||||
- name: Publish Fresh
|
||||
run: deno publish
|
||||
|
||||
Reference in New Issue
Block a user