From 78ec082853e7938eb6066a3f87e0eda0d5236e7e Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Wed, 29 Nov 2023 16:23:36 +0000 Subject: [PATCH] Delete .github/workflows/node.yaml --- .github/workflows/node.yaml | 55 ------------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 .github/workflows/node.yaml diff --git a/.github/workflows/node.yaml b/.github/workflows/node.yaml deleted file mode 100644 index edfccfe..0000000 --- a/.github/workflows/node.yaml +++ /dev/null @@ -1,55 +0,0 @@ -name: Install Dependencies & Build NPM Project - -on: - workflow_call: - inputs: - repository: - type: string - required: true - description: Git repository URL - path: - type: string - required: false - description: Path to NPM project root - default: ${{github.workspace}} - artifacts: - type: string - required: false - description: Path to any artifacts you wish uploaded - default: false - artifact_name: - type: string - required: false - description: Path to any artifacts you wish uploaded - default: ${{inputs.artifacts}} - -jobs: - docker: - name: Install Dependencies & Build NPM Project - runs-on: ubuntu-latest - container: node - steps: - - name: Clone Repository - uses: ztimson/actions/clone@develop - with: - url: ${{inputs.repository}} - - - name: Install Dependencies - run: npm i - working-directory: ${{inputs.path}} - - - name: Install Dependencies - run: npm run build:prod || npm run build - working-directory: ${{inputs.path}} - - - name: Artifact Name - if: ${{inputs.artifacts}} != "false" - run: echo "ARTIFACTS=$(echo ${{inputs.artifact_name}} | sed s%/%_% )" >> $GITHUB_ENV - - - name: Upload Artifacts - if: ${{inputs.artifacts}} != "false" - uses: actions/upload-artifact@v3 - with: - name: ${{env.ARTIFACTS}} - path: ${{inputs.artifacts}} - retention-days: 7