From 02adfdda98743e27e0495dd88ac7b564f6c0003c Mon Sep 17 00:00:00 2001 From: Scion Date: Thu, 1 Jan 2026 16:29:37 -0800 Subject: [PATCH] Just isntall node. --- npm/npm-test/action.yaml | 44 +++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/npm/npm-test/action.yaml b/npm/npm-test/action.yaml index 1b9e92d..2a82211 100644 --- a/npm/npm-test/action.yaml +++ b/npm/npm-test/action.yaml @@ -44,26 +44,24 @@ runs: uses: https://github.com/actions/setup-node@v4 with: node-version: ${{ inputs.nodeVersion }} - cache: npm - cache-dependency-path: ${{ inputs.workingDirectory }}/package-lock.json - - name: "Install dependencies" - run: npm ci - working-directory: ${{ inputs.workingDirectory }} - shell: bash - - name: "Run tests" - run: ${{ inputs.testCommand }} - working-directory: ${{ inputs.workingDirectory }} - shell: bash - - name: "Run tests with coverage" - if: ${{ inputs.runCoverage == 'true' }} - run: ${{ inputs.coverageCommand }} - working-directory: ${{ inputs.workingDirectory }} - shell: bash - - name: "Upload test artifacts" - if: ${{ inputs.uploadArtifacts == 'true' && always() }} - uses: https://github.com/ChristopherHX/gitea-upload-artifact@v4 - with: - name: ${{ inputs.artifactName }} - path: ${{ inputs.workingDirectory }}/${{ inputs.coverageDirectory }} - if-no-files-found: warn - retention-days: ${{ inputs.retention-days }} + # - name: "Install dependencies" + # run: npm ci + # working-directory: ${{ inputs.workingDirectory }} + # shell: bash + # - name: "Run tests" + # run: ${{ inputs.testCommand }} + # working-directory: ${{ inputs.workingDirectory }} + # shell: bash + # - name: "Run tests with coverage" + # if: ${{ inputs.runCoverage == 'true' }} + # run: ${{ inputs.coverageCommand }} + # working-directory: ${{ inputs.workingDirectory }} + # shell: bash + # - name: "Upload test artifacts" + # if: ${{ inputs.uploadArtifacts == 'true' && always() }} + # uses: https://github.com/ChristopherHX/gitea-upload-artifact@v4 + # with: + # name: ${{ inputs.artifactName }} + # path: ${{ inputs.workingDirectory }}/${{ inputs.coverageDirectory }} + # if-no-files-found: warn + # retention-days: ${{ inputs.retention-days }}