mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
[AAE-32905] - removing unused cache system
This commit is contained in:
25
.github/actions/setup/action.yml
vendored
25
.github/actions/setup/action.yml
vendored
@@ -26,30 +26,7 @@ runs:
|
|||||||
cache-dependency-path: package-lock.json
|
cache-dependency-path: package-lock.json
|
||||||
- name: get latest tag sha
|
- name: get latest tag sha
|
||||||
id: tag-sha
|
id: tag-sha
|
||||||
uses: Alfresco/alfresco-build-tools/.github/actions/git-latest-tag@45bb8b664779b691f8a21d9fd49e360916726c11 # v8.18.1
|
uses: Alfresco/alfresco-build-tools/.github/actions/git-latest-tag@a3d5beb67a8b8d96398435e01686a9a9185380ab # v8.18.0
|
||||||
# CACHE
|
|
||||||
- name: Node Modules cache
|
|
||||||
id: node-modules-cache
|
|
||||||
if: ${{ inputs.enable-node-modules-cache == 'true' }}
|
|
||||||
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
|
||||||
env:
|
|
||||||
cache-name: node-modules-cache
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
node_modules
|
|
||||||
key: .npm-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
|
||||||
restore-keys: |
|
|
||||||
node_modules-${{ runner.os }}-build-${{ env.cache-name }}-
|
|
||||||
node_modules-${{ runner.os }}-build-
|
|
||||||
node_modules-${{ runner.os }}-
|
|
||||||
- name: pip cache
|
|
||||||
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
|
||||||
if: ${{ inputs.enable-cache == 'true' }}
|
|
||||||
with:
|
|
||||||
path: ~/.cache/pip
|
|
||||||
key: ${{ runner.os }}-pip-
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}
|
|
||||||
- name: load "NPM TAG"
|
- name: load "NPM TAG"
|
||||||
uses: ./.github/actions/set-npm-tag
|
uses: ./.github/actions/set-npm-tag
|
||||||
- name: before install script
|
- name: before install script
|
||||||
|
2
.github/workflows/pull-request.yml
vendored
2
.github/workflows/pull-request.yml
vendored
@@ -235,7 +235,7 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-node-modules-
|
${{ runner.os }}-node-modules-
|
||||||
- uses: ./.github/actions/setup
|
- uses: ./.github/actions/setup
|
||||||
- run: npx nx affected --target=lint
|
- run: npx nx affected --target=lint --base=origin/develop --head=HEAD
|
||||||
|
|
||||||
trigger-build:
|
trigger-build:
|
||||||
name: "Build Libs"
|
name: "Build Libs"
|
||||||
|
Reference in New Issue
Block a user