|
|
@@ -43,20 +43,22 @@ jobs:
|
|
|
with:
|
|
|
path: |
|
|
|
**/node_modules
|
|
|
- key: node_modules-7.x-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('apps/app/package.json') }}
|
|
|
+ !**/node_modules/.cache
|
|
|
+ key: node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('apps/app/package.json') }}
|
|
|
restore-keys: |
|
|
|
- node_modules-7.x-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}-
|
|
|
- node_modules-7.x-${{ runner.OS }}-node${{ matrix.node-version }}-
|
|
|
+ node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}-
|
|
|
+ node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-
|
|
|
|
|
|
- name: Restore dist
|
|
|
uses: actions/cache/restore@v4
|
|
|
with:
|
|
|
path: |
|
|
|
**/.turbo
|
|
|
+ **/node_modules/.cache
|
|
|
**/dist
|
|
|
- key: dist-app-7.x-ci-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('node_modules/.cache/turbo/*-meta.json') }}
|
|
|
+ key: dist-app-ci-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('node_modules/.cache/turbo/*-meta.json') }}
|
|
|
restore-keys: |
|
|
|
- dist-app-7.x-ci-${{ runner.OS }}-node${{ matrix.node-version }}-
|
|
|
+ dist-app-ci-${{ runner.OS }}-node${{ matrix.node-version }}-
|
|
|
|
|
|
- name: Install dependencies
|
|
|
run: |
|
|
|
@@ -84,7 +86,7 @@ jobs:
|
|
|
path: |
|
|
|
**/.turbo
|
|
|
**/dist
|
|
|
- key: dist-app-7.x-ci-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('node_modules/.cache/turbo/*-meta.json') }}
|
|
|
+ key: dist-app-ci-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('node_modules/.cache/turbo/*-meta.json') }}
|
|
|
|
|
|
|
|
|
ci-app-test:
|
|
|
@@ -115,10 +117,10 @@ jobs:
|
|
|
with:
|
|
|
path: |
|
|
|
**/node_modules
|
|
|
- key: node_modules-7.x-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('apps/app/package.json') }}
|
|
|
+ key: node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('apps/app/package.json') }}
|
|
|
restore-keys: |
|
|
|
- node_modules-7.x-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}-
|
|
|
- node_modules-7.x-${{ runner.OS }}-node${{ matrix.node-version }}-
|
|
|
+ node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}-
|
|
|
+ node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-
|
|
|
|
|
|
- name: Restore dist
|
|
|
uses: actions/cache/restore@v4
|
|
|
@@ -126,9 +128,9 @@ jobs:
|
|
|
path: |
|
|
|
**/.turbo
|
|
|
**/dist
|
|
|
- key: dist-app-7.x-ci-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('node_modules/.cache/turbo/*-meta.json') }}
|
|
|
+ key: dist-app-ci-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('node_modules/.cache/turbo/*-meta.json') }}
|
|
|
restore-keys: |
|
|
|
- dist-app-7.x-ci-${{ runner.OS }}-node${{ matrix.node-version }}-
|
|
|
+ dist-app-ci-${{ runner.OS }}-node${{ matrix.node-version }}-
|
|
|
|
|
|
- name: Install dependencies
|
|
|
run: |
|
|
|
@@ -166,7 +168,7 @@ jobs:
|
|
|
path: |
|
|
|
**/.turbo
|
|
|
**/dist
|
|
|
- key: dist-app-7.x-ci-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('node_modules/.cache/turbo/*-meta.json') }}
|
|
|
+ key: dist-app-ci-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('node_modules/.cache/turbo/*-meta.json') }}
|
|
|
|
|
|
|
|
|
ci-app-launch-dev:
|
|
|
@@ -197,10 +199,10 @@ jobs:
|
|
|
with:
|
|
|
path: |
|
|
|
**/node_modules
|
|
|
- key: node_modules-7.x-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('apps/app/package.json') }}
|
|
|
+ key: node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('apps/app/package.json') }}
|
|
|
restore-keys: |
|
|
|
- node_modules-7.x-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}-
|
|
|
- node_modules-7.x-${{ runner.OS }}-node${{ matrix.node-version }}-
|
|
|
+ node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}-
|
|
|
+ node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-
|
|
|
|
|
|
- name: Restore dist
|
|
|
uses: actions/cache/restore@v4
|
|
|
@@ -209,9 +211,9 @@ jobs:
|
|
|
**/.turbo
|
|
|
**/dist
|
|
|
${{ github.workspace }}/apps/app/.next
|
|
|
- key: dist-app-7.x-dev-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('node_modules/.cache/turbo/*-meta.json') }}
|
|
|
+ key: dist-app-dev-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('node_modules/.cache/turbo/*-meta.json') }}
|
|
|
restore-keys: |
|
|
|
- dist-app-7.x-dev-${{ runner.OS }}-node${{ matrix.node-version }}-
|
|
|
+ dist-app-dev-${{ runner.OS }}-node${{ matrix.node-version }}-
|
|
|
|
|
|
- name: Install dependencies
|
|
|
run: |
|
|
|
@@ -244,4 +246,4 @@ jobs:
|
|
|
**/.turbo
|
|
|
**/dist
|
|
|
${{ github.workspace }}/apps/app/.next
|
|
|
- key: dist-app-7.x-dev-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('node_modules/.cache/turbo/*-meta.json') }}
|
|
|
+ key: dist-app-dev-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('node_modules/.cache/turbo/*-meta.json') }}
|