ci: use nekowinston/setup-deno for caching (#348)

This commit is contained in:
winston authored and GitHub committed 2023-11-21 02:33:16 +01:00
1 parent dc998eb14f
commit 7275c21f64
4 files changed
+5 -39

No files matched your search

+1 -8
View File
@@ -7,7 +7,6 @@ on:
- "scripts/**/*"
env:
DENO_DIR: /tmp/deno_cache
HAS_USERSTYLES_TOKEN: ${{ secrets.USERSTYLES_TOKEN != '' }}
jobs:
@@ -31,16 +30,10 @@ jobs:
ref: ${{ github.ref }}
- name: Setup Deno
uses: denoland/setup-deno@v1
uses: nekowinston/setup-deno@main
with:
deno-version: v1.x
- name: Cache Deno dependencies
uses: actions/cache@v3
with:
key: ${{ hashFiles('./deno.lock') }}
path: ${{ env.DENO_DIR }}
- name: Generate health files
run: deno task ci:generate