mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
feat(ci): add cache for deno (#3158)
* feat(ci): add cache for deno * refactor(ci): per package cache
This commit is contained in:
@@ -41,5 +41,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: .turbo
|
path: .turbo
|
||||||
key: ${{ runner.os }}-turbo-build-${{ github.sha }}
|
key: ${{ runner.os }}-turbo-build-${{ github.sha }}
|
||||||
|
- name: Deno cache
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.deno
|
||||||
|
~/.cache/deno
|
||||||
|
key: ${{ runner.os }}-deno-${{ inputs.package }}-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-deno-${{ inputs.package }}
|
||||||
- name: Deno Unit Test
|
- name: Deno Unit Test
|
||||||
run: yarn test:deno-unit --cache-dir=".turbo" --filter=./packages/${{ inputs.package }}
|
run: yarn test:deno-unit --cache-dir=".turbo" --filter=./packages/${{ inputs.package }}
|
||||||
|
|||||||
Reference in New Issue
Block a user