From 0031ec9b7b81771f24caa984edff0f7f6e0f800a Mon Sep 17 00:00:00 2001 From: dav-sap Date: Mon, 24 Oct 2022 09:18:05 +0300 Subject: [PATCH] use cache from built in setup node action --- .github/actions/testing/action.yml | 4 +--- .github/workflows/node-linting-workflow.yaml | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/actions/testing/action.yml b/.github/actions/testing/action.yml index 2f419ed..96d0c2b 100644 --- a/.github/actions/testing/action.yml +++ b/.github/actions/testing/action.yml @@ -21,7 +21,6 @@ inputs: runs: using: "composite" steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 with: persist-credentials: false @@ -29,9 +28,8 @@ runs: uses: actions/setup-node@master with: node-version: ${{ inputs.node_v }} + cache: 'npm' - # install application dependencies - - uses: c-hive/gha-npm-cache@v1 - name: Install Dependencies shell: bash run: npm install diff --git a/.github/workflows/node-linting-workflow.yaml b/.github/workflows/node-linting-workflow.yaml index e40b074..f2763e6 100644 --- a/.github/workflows/node-linting-workflow.yaml +++ b/.github/workflows/node-linting-workflow.yaml @@ -33,9 +33,8 @@ jobs: uses: actions/setup-node@master with: node-version: ${{ inputs.node_v }} + cache: 'npm' - # install application dependencies - - uses: c-hive/gha-npm-cache@v1 - name: Install Dependencies run: npm install - name: eslint check