From 2991cbbc97f3d24e4f2d99ed156c3ef261f0f083 Mon Sep 17 00:00:00 2001 From: CD Cabrera Date: Thu, 30 Jul 2026 00:31:21 -0400 Subject: [PATCH] ci: remove dup workflow caching --- .github/workflows/coverage.yml | 9 --------- .github/workflows/documentation_lint.yml | 9 --------- .github/workflows/integration.yml | 9 --------- .github/workflows/packages_lint.yml | 9 --------- 4 files changed, 36 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 2b1e3d8..6bb9a48 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -38,16 +38,7 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: npm - - name: Node.js modules cache - uses: actions/cache@v5 - id: modules-cache - with: - path: ${{ github.workspace }}/node_modules - key: ${{ runner.os }}-${{ matrix.node-version }}-modules-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-${{ matrix.node-version }}-modules - name: Install Node.js packages - if: ${{ steps.modules-cache.outputs.cache-hit != 'true' }} run: npm ci - name: Setup coverage report run: npm run test:coverage diff --git a/.github/workflows/documentation_lint.yml b/.github/workflows/documentation_lint.yml index f347741..90332fd 100644 --- a/.github/workflows/documentation_lint.yml +++ b/.github/workflows/documentation_lint.yml @@ -19,16 +19,7 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: npm - - name: Node.js modules cache - uses: actions/cache@v5 - id: modules-cache - with: - path: ${{ github.workspace }}/node_modules - key: ${{ runner.os }}-${{ matrix.node-version }}-modules-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-${{ matrix.node-version }}-modules - name: Install Node.js packages - if: ${{ steps.modules-cache.outputs.cache-hit != 'true' }} run: npm ci - name: Build run: npm run build:docs diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 7a0ef37..fcfd3e1 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -19,16 +19,7 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: npm - - name: Node.js modules cache - uses: actions/cache@v5 - id: modules-cache - with: - path: ${{ github.workspace }}/node_modules - key: ${{ runner.os }}-${{ matrix.node-version }}-modules-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-${{ matrix.node-version }}-modules - name: Install Node.js packages - if: ${{ steps.modules-cache.outputs.cache-hit != 'true' }} run: npm ci - name: Audit packages run: npm audit --audit-level=high diff --git a/.github/workflows/packages_lint.yml b/.github/workflows/packages_lint.yml index d62d2b7..04a7da2 100644 --- a/.github/workflows/packages_lint.yml +++ b/.github/workflows/packages_lint.yml @@ -19,16 +19,7 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: npm - - name: Node.js modules cache - uses: actions/cache@v5 - id: modules-cache - with: - path: ${{ github.workspace }}/node_modules - key: ${{ runner.os }}-${{ matrix.node-version }}-modules-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-${{ matrix.node-version }}-modules - name: Install Node.js packages - if: ${{ steps.modules-cache.outputs.cache-hit != 'true' }} run: npm ci - name: Audit packages run: npm audit --audit-level=high