Improve turbo cache (#2178)
* chore(action): regenerate turbo cache * chore(action): fix build * chore: add support for [force-ci] option * [force-ci] * fix: force-ci support * [force-ci] * chore: debug commit message * chore: debug commit message * fix: remove force-ci support * [force-ci] * chore(actions): fix hash key * chore(actions): fix hash key?
This commit is contained in:
parent
16484f603d
commit
80c65e9497
1 changed files with 4 additions and 20 deletions
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
|
@ -87,11 +87,7 @@ jobs:
|
|||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "**/.turbo"
|
||||
key: "turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}-${{ github.sha }}"
|
||||
restore-keys: |
|
||||
turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}-${{ github.sha }}
|
||||
turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}-
|
||||
turbo-${{ github.ref }}-
|
||||
key: turbo-${{ hashFiles('.github/workflows/ci.yml') }}-${{ github.ref }}
|
||||
|
||||
- name: Install NPM Dependencies
|
||||
run: yarn install --prefer-offline --frozen-lockfile --ignore-engines --registry https://registry.npmjs.org --network-timeout 300000
|
||||
|
@ -145,11 +141,7 @@ jobs:
|
|||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "**/.turbo"
|
||||
key: "turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}-${{ github.sha }}"
|
||||
restore-keys: |
|
||||
turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}-${{ github.sha }}
|
||||
turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}-
|
||||
turbo-${{ github.ref }}-
|
||||
key: turbo-${{ hashFiles('.github/workflows/ci.yml') }}-${{ github.ref }}
|
||||
|
||||
- name: Install NPM Dependencies
|
||||
run: yarn install --prefer-offline --frozen-lockfile --ignore-engines --registry https://registry.npmjs.org --network-timeout 300000
|
||||
|
@ -193,11 +185,7 @@ jobs:
|
|||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "**/.turbo"
|
||||
key: "turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}-${{ github.sha }}"
|
||||
restore-keys: |
|
||||
turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}-${{ github.sha }}
|
||||
turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}-
|
||||
turbo-${{ github.ref }}-
|
||||
key: turbo-${{ hashFiles('.github/workflows/ci.yml') }}-${{ github.ref }}
|
||||
|
||||
- name: Install NPM Dependencies
|
||||
run: yarn install --prefer-offline --frozen-lockfile --ignore-engines --registry https://registry.npmjs.org --network-timeout 300000
|
||||
|
@ -236,11 +224,7 @@ jobs:
|
|||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "**/.turbo"
|
||||
key: "turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}-${{ github.sha }}"
|
||||
restore-keys: |
|
||||
turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}-${{ github.sha }}
|
||||
turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}-
|
||||
turbo-${{ github.ref }}-
|
||||
key: turbo-${{ hashFiles('.github/workflows/ci.yml') }}-${{ github.ref }}
|
||||
|
||||
- name: Install NPM Dependencies
|
||||
run: yarn install --prefer-offline --frozen-lockfile --ignore-engines --registry https://registry.npmjs.org --network-timeout 300000
|
||||
|
|
Loading…
Reference in a new issue