Skip to content

Commit

Permalink
fix sandbox cache path and zstd version
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Apr 18, 2023
1 parent d9f2dcb commit efe199e
Showing 1 changed file with 42 additions and 12 deletions.
54 changes: 42 additions & 12 deletions .github/workflows/all-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@ jobs:
yarn task --task compile --start-from=compile --no-link --debug
git diff --exit-code
# - name: Cache Verdacio
# uses: actions/cache@v3
# with:
# path: .verdaccio-cache
# key: ${{ runner.os }}-verdaccio-v1

- name: Publish to Verdaccio
working-directory: code
run: yarn local-registry --publish

- name: Save Verdacio cache
uses: actions/cache@v3
with:
path: .verdaccio-cache
key: verdaccio-v1-${{ runner.os }}-${{ github.run_id }}

create-sandboxes:
name: Create Sandbox
runs-on: ubuntu-latest
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
uses: actions/cache/restore@v3
with:
path: .verdaccio-cache
key: ${{ runner.os }}-verdaccio-v1
key: verdaccio-v1-${{ runner.os }}-${{ github.run_id }}
fail-on-cache-miss: true

- name: Create sandbox ${{ matrix.template }}
Expand Down Expand Up @@ -145,7 +145,9 @@ jobs:
uses: actions/cache/restore@v3
with:
enableCrossOsArchive: true
path: sandbox
path: |
sandbox
~/.yarn/berry/cache
key: sandbox-v1-${{ matrix.template }}-${{ github.run_id }}
fail-on-cache-miss: true

Expand Down Expand Up @@ -184,6 +186,11 @@ jobs:
with:
node-version: '16'

- name: Install Zstd
run: |
apt-get update
apt-get install -y zstd=1.5.5
- name: Restore dependencies
uses: actions/cache/restore@v3
with:
Expand All @@ -198,7 +205,9 @@ jobs:
- name: Restore sandbox ${{ matrix.template }}
uses: actions/cache/restore@v3
with:
path: sandbox
path: |
sandbox
~/.yarn/berry/cache
enableCrossOsArchive: true
key: sandbox-v1-${{ matrix.template }}-${{ github.run_id }}
fail-on-cache-miss: true
Expand All @@ -225,6 +234,11 @@ jobs:
with:
node-version: '16'

- name: Install Zstd
run: |
apt-get update
apt-get install -y zstd=1.5.5
- name: Restore dependencies
uses: actions/cache/restore@v3
with:
Expand All @@ -239,7 +253,9 @@ jobs:
- name: Restore sandbox ${{ matrix.template }}
uses: actions/cache/restore@v3
with:
path: sandbox
path: |
sandbox
~/.yarn/berry/cache
enableCrossOsArchive: true
key: sandbox-v1-${{ matrix.template }}-${{ github.run_id }}
fail-on-cache-miss: true
Expand All @@ -266,6 +282,11 @@ jobs:
with:
node-version: '16'

- name: Install Zstd
run: |
apt-get update
apt-get install -y zstd=1.5.5
- name: Restore dependencies
uses: actions/cache/restore@v3
with:
Expand All @@ -280,7 +301,9 @@ jobs:
- name: Restore sandbox ${{ matrix.template }}
uses: actions/cache/restore@v3
with:
path: sandbox
path: |
sandbox
~/.yarn/berry/cache
enableCrossOsArchive: true
key: sandbox-v1-${{ matrix.template }}-${{ github.run_id }}
fail-on-cache-miss: true
Expand All @@ -307,6 +330,11 @@ jobs:
with:
node-version: '16'

- name: Install Zstd
run: |
apt-get update
apt-get install -y zstd=1.5.5
- name: Restore dependencies
uses: actions/cache/restore@v3
with:
Expand All @@ -321,7 +349,9 @@ jobs:
- name: Restore sandbox ${{ matrix.template }}
uses: actions/cache/restore@v3
with:
path: sandbox
path: |
sandbox
~/.yarn/berry/cache
enableCrossOsArchive: true
key: sandbox-v1-${{ matrix.template }}-${{ github.run_id }}
fail-on-cache-miss: true
Expand Down

0 comments on commit efe199e

Please sign in to comment.