diff --git a/.github/actions/setup-node-npm/action.yml b/.github/actions/setup-node-npm/action.yml index 50f88688..48b3643c 100644 --- a/.github/actions/setup-node-npm/action.yml +++ b/.github/actions/setup-node-npm/action.yml @@ -15,7 +15,6 @@ runs: uses: actions/setup-node@v6 with: node-version: ${{ inputs.node-version }} - package-manager-cache: false - name: Update npm to version 11 shell: bash diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2790ae10..176c6f0e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -46,11 +46,10 @@ jobs: - name: Checkout code uses: actions/checkout@v6 - - name: Setup Node - uses: actions/setup-node@v6 + - name: Setup Node and npm + uses: ./.github/actions/setup-node-npm with: node-version: ${{ matrix.NODE_VERSION }} - package-manager-cache: false - name: Install dependencies run: npm i @@ -69,11 +68,10 @@ jobs: - name: Checkout code uses: actions/checkout@v6 - - name: Setup Node - uses: actions/setup-node@v6 + - name: Setup Node and npm + uses: ./.github/actions/setup-node-npm with: node-version: ${{ env.NODE_VERSION }} - package-manager-cache: false - name: Install dependencies run: npm i