mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-10 14:11:42 +00:00
removed pip cache
This commit is contained in:
13
.github/actions/setup/action.yml
vendored
13
.github/actions/setup/action.yml
vendored
@@ -56,18 +56,9 @@ runs:
|
||||
with:
|
||||
path: |
|
||||
node_modules
|
||||
key: node_modules-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
||||
key: ${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
node_modules-${{ env.cache-name }}-
|
||||
node_modules-
|
||||
- name: pip cache
|
||||
uses: actions/cache@v3
|
||||
if: ${{ inputs.enable-global-nx-cache == 'true' }}
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: ${{ github.ref_name }}-pip-
|
||||
restore-keys: |
|
||||
${{ github.ref_name }}
|
||||
${{ env.cache-name }}-
|
||||
# ENV LOAD
|
||||
- name: load .travis.yml env.global variables
|
||||
uses: Alfresco/alfresco-build-tools/.github/actions/travis-env-load@v1.17.0
|
||||
|
9
.github/workflows/pull-request.yml
vendored
9
.github/workflows/pull-request.yml
vendored
@@ -158,11 +158,10 @@ jobs:
|
||||
with:
|
||||
enable-global-nx-cache: true
|
||||
enable-global-node-modules-cache: false
|
||||
cache-key-suffix: unit-tests
|
||||
- uses: ./.github/actions/download-cache-and-artifacts
|
||||
with:
|
||||
# packages: 'dist node_modules'
|
||||
packages: 'dist'
|
||||
cache-key-suffix: unit-tests-${{ matrix.unit-tests.name }}
|
||||
# - uses: ./.github/actions/download-cache-and-artifacts
|
||||
# with:
|
||||
# packages: 'node_modules'
|
||||
- name: Run unit tests
|
||||
run: |
|
||||
/usr/bin/xvfb-run --auto-servernum nx affected:test $NX_CALCULATION_FLAGS --exclude=${{ matrix.unit-tests.exclude }}
|
||||
|
Reference in New Issue
Block a user