mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
fix cache key
This commit is contained in:
@@ -162,14 +162,14 @@ jobs:
|
||||
- uses: ./.github/actions/download-cache-and-artifacts
|
||||
with:
|
||||
persistent-packages: 'nxcache'
|
||||
persistent-packages-key-suffix: ${{ github.ref_name }}/${{ matrix.unit-tests.name }}
|
||||
packages-key-suffix: ${{ github.ref_name }}/${{ matrix.unit-tests.name }}
|
||||
- name: Run unit tests
|
||||
run: |
|
||||
/usr/bin/xvfb-run --auto-servernum nx affected:test $NX_CALCULATION_FLAGS --exclude=${{ matrix.unit-tests.exclude }}
|
||||
- uses: ./.github/actions/upload-cache-and-artifacts
|
||||
with:
|
||||
persistent-packages: 'nxcache'
|
||||
persistent-packages-key-suffix: ${{ github.ref_name }}/${{ matrix.unit-tests.name }}
|
||||
packages-key-suffix: ${{ github.ref_name }}/${{ matrix.unit-tests.name }}
|
||||
lint:
|
||||
# long timeout required when cache has to be recreated
|
||||
timeout-minutes: 30
|
||||
@@ -194,7 +194,7 @@ jobs:
|
||||
- uses: ./.github/actions/upload-cache-and-artifacts
|
||||
with:
|
||||
persistent-packages: 'nxcache'
|
||||
persistent-packages-key-suffix: ${{ github.ref_name }}-lint
|
||||
packages-key-suffix: ${{ github.ref_name }}-lint
|
||||
|
||||
build-libs:
|
||||
# long timeout required when cache has to be recreated
|
||||
@@ -216,7 +216,7 @@ jobs:
|
||||
with:
|
||||
packages: 'node_modules'
|
||||
persistent-packages: 'nxcache'
|
||||
persistent-packages-key-suffix: ${{ github.ref_name }}-build-libs
|
||||
packages-key-suffix: ${{ github.ref_name }}-build-libs
|
||||
|
||||
- run: nx affected:build $NX_CALCULATION_FLAGS --prod
|
||||
- run: nx build demoshell --configuration production
|
||||
@@ -225,7 +225,7 @@ jobs:
|
||||
with:
|
||||
packages: 'dist node_modules'
|
||||
persistent-packages: 'nxcache'
|
||||
persistent-packages-key-suffix: ${{ github.ref_name }}-build-libs
|
||||
packages-key-suffix: ${{ github.ref_name }}-build-libs
|
||||
|
||||
e2e-storybook:
|
||||
timeout-minutes: 20
|
||||
|
||||
Reference in New Issue
Block a user