diff --git a/.github/workflows/auto-package-updates.yml b/.github/workflows/auto-package-updates.yml index 557f66b..7568b36 100644 --- a/.github/workflows/auto-package-updates.yml +++ b/.github/workflows/auto-package-updates.yml @@ -64,22 +64,19 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v6 - - name: Set up Node.js uses: actions/setup-node@v6 with: node-version: ${{ inputs.node-version }} cache: npm - + cache-dependency-path: ${{ inputs.working-directory }}/package-lock.json - name: Install npm-check-updates run: npm install -g npm-check-updates - - name: Update packages working-directory: ${{ inputs.working-directory }} run: | ${{ inputs.update-command }} ${{ inputs.install-command }} - - name: Create Pull Request uses: peter-evans/create-pull-request@v8 with: diff --git a/.github/workflows/cypress-e2e-tests.yml b/.github/workflows/cypress-e2e-tests.yml index 063fe4e..37bd8a8 100644 --- a/.github/workflows/cypress-e2e-tests.yml +++ b/.github/workflows/cypress-e2e-tests.yml @@ -40,6 +40,7 @@ jobs: with: node-version: ${{ inputs.node-version }} cache: npm + cache-dependency-path: ${{ inputs.working-directory }}/package-lock.json - name: Install dependencies working-directory: ${{ inputs.working-directory }} run: ${{ inputs.install-command }} diff --git a/.github/workflows/jest-tests.yml b/.github/workflows/jest-tests.yml index 6d13361..f5851a5 100644 --- a/.github/workflows/jest-tests.yml +++ b/.github/workflows/jest-tests.yml @@ -45,6 +45,7 @@ jobs: with: node-version: ${{ inputs.node-version }} cache: npm + cache-dependency-path: ${{ inputs.working-directory }}/package-lock.json - name: Install dependencies working-directory: ${{ inputs.working-directory }} run: ${{ inputs.install-command }}