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
|
- uses: ./.github/actions/download-cache-and-artifacts
|
||||||
with:
|
with:
|
||||||
persistent-packages: 'nxcache'
|
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
|
- name: Run unit tests
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/xvfb-run --auto-servernum nx affected:test $NX_CALCULATION_FLAGS --exclude=${{ matrix.unit-tests.exclude }}
|
/usr/bin/xvfb-run --auto-servernum nx affected:test $NX_CALCULATION_FLAGS --exclude=${{ matrix.unit-tests.exclude }}
|
||||||
- uses: ./.github/actions/upload-cache-and-artifacts
|
- uses: ./.github/actions/upload-cache-and-artifacts
|
||||||
with:
|
with:
|
||||||
persistent-packages: 'nxcache'
|
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:
|
lint:
|
||||||
# long timeout required when cache has to be recreated
|
# long timeout required when cache has to be recreated
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
@@ -194,7 +194,7 @@ jobs:
|
|||||||
- uses: ./.github/actions/upload-cache-and-artifacts
|
- uses: ./.github/actions/upload-cache-and-artifacts
|
||||||
with:
|
with:
|
||||||
persistent-packages: 'nxcache'
|
persistent-packages: 'nxcache'
|
||||||
persistent-packages-key-suffix: ${{ github.ref_name }}-lint
|
packages-key-suffix: ${{ github.ref_name }}-lint
|
||||||
|
|
||||||
build-libs:
|
build-libs:
|
||||||
# long timeout required when cache has to be recreated
|
# long timeout required when cache has to be recreated
|
||||||
@@ -216,7 +216,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
packages: 'node_modules'
|
packages: 'node_modules'
|
||||||
persistent-packages: 'nxcache'
|
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 affected:build $NX_CALCULATION_FLAGS --prod
|
||||||
- run: nx build demoshell --configuration production
|
- run: nx build demoshell --configuration production
|
||||||
@@ -225,7 +225,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
packages: 'dist node_modules'
|
packages: 'dist node_modules'
|
||||||
persistent-packages: 'nxcache'
|
persistent-packages: 'nxcache'
|
||||||
persistent-packages-key-suffix: ${{ github.ref_name }}-build-libs
|
packages-key-suffix: ${{ github.ref_name }}-build-libs
|
||||||
|
|
||||||
e2e-storybook:
|
e2e-storybook:
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
|
|||||||
Reference in New Issue
Block a user