Skip to content

Commit

Permalink
add deno caches
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Aug 29, 2024
1 parent 9f39fe8 commit 5ac60d1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ jobs:
with:
deno-version: v1.x

- uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
name: Setup Deno cache
with:
path: |
~/.deno
~/.cache/deno
key: ${{ runner.os }}-deno-${{ hashFiles('**/jsr.json') }}

- name: Install Vite
run: deno install npm:${{ matrix.vite-version }}

Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/jsr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ jobs:
with:
deno-version: v1.x

- uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
name: Setup Deno cache
with:
path: |
~/.deno
~/.cache/deno
key: ${{ runner.os }}-deno-${{ hashFiles('**/jsr.json') }}
- run: |
deno lint \
--ignore=node_modules src tests \
Expand Down

0 comments on commit 5ac60d1

Please sign in to comment.