From c693348bbe501256069a09d7832a0031c6bb485e Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Tue, 4 Mar 2025 03:38:31 +0100 Subject: [PATCH] remove --- .../ci-automated-check-environment.yml | 8 +---- .github/workflows/ci.yml | 32 +++---------------- .github/workflows/release-automated.yml | 11 ++----- 3 files changed, 7 insertions(+), 44 deletions(-) diff --git a/.github/workflows/ci-automated-check-environment.yml b/.github/workflows/ci-automated-check-environment.yml index 79c6b35f95..6d2c6d2a61 100644 --- a/.github/workflows/ci-automated-check-environment.yml +++ b/.github/workflows/ci-automated-check-environment.yml @@ -18,13 +18,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: 18 - - name: Cache Node.js modules - uses: actions/cache@v4 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- + cache: npm - name: Install dependencies run: npm ci - name: CI Environments Check diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b3da252dd8..2b0b064c7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,13 +18,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} - - name: Cache Node.js modules - uses: actions/cache@v4 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ env.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node-${{ env.NODE_VERSION }}- + cache: npm - name: Install dependencies run: npm ci --ignore-scripts - name: CI Node Engine Check @@ -39,13 +33,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} - - name: Cache Node.js modules - uses: actions/cache@v4 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ env.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node-${{ env.NODE_VERSION }}- + cache: npm - name: Install dependencies run: npm ci --ignore-scripts - run: npm run lint @@ -59,13 +47,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} - - name: Cache Node.js modules - uses: actions/cache@v4 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ env.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node-${{ env.NODE_VERSION }}- + cache: npm - name: Install dependencies run: npm ci --ignore-scripts - name: Scan for circular dependencies @@ -143,13 +125,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.NODE_VERSION }} - - name: Cache Node.js modules - uses: actions/cache@v4 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}- + cache: npm - name: Install dependencies run: npm ci - name: Tests diff --git a/.github/workflows/release-automated.yml b/.github/workflows/release-automated.yml index a29b52bca1..2b38d30a3c 100644 --- a/.github/workflows/release-automated.yml +++ b/.github/workflows/release-automated.yml @@ -11,17 +11,10 @@ jobs: - uses: actions/checkout@v2 with: persist-credentials: false - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: node-version: 18 - registry-url: https://registry.npmjs.org/ - - name: Cache Node.js modules - uses: actions/cache@v2 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- + cache: npm - run: npm ci - run: npx semantic-release env: