From f33ee65bb832d78efb8b14e67a0c720897b26c6d Mon Sep 17 00:00:00 2001 From: Nicholas Kwon Date: Sat, 7 May 2022 18:41:02 -0700 Subject: [PATCH] Add more setup node blocks --- .github/workflows/Continuous_Deployment_Frontend_Dev.yml | 7 ++++++- .github/workflows/Continuous_Deployment_Frontend_Prod.yml | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Continuous_Deployment_Frontend_Dev.yml b/.github/workflows/Continuous_Deployment_Frontend_Dev.yml index 20d92a3d1..c36afaf70 100644 --- a/.github/workflows/Continuous_Deployment_Frontend_Dev.yml +++ b/.github/workflows/Continuous_Deployment_Frontend_Dev.yml @@ -6,17 +6,22 @@ on: - dev paths: - 'client/**' + workflow_dispatch: defaults: run: working-directory: client jobs: - build: + deploy_frontend_dev: runs-on: ubuntu-latest steps: - name: Checkout Repository Code uses: actions/checkout@v1 + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: 12 - name: Rebuild sass run: npm rebuild node-sass - name: Install Packages diff --git a/.github/workflows/Continuous_Deployment_Frontend_Prod.yml b/.github/workflows/Continuous_Deployment_Frontend_Prod.yml index 2bc3c9dc3..abaf67544 100644 --- a/.github/workflows/Continuous_Deployment_Frontend_Prod.yml +++ b/.github/workflows/Continuous_Deployment_Frontend_Prod.yml @@ -12,11 +12,15 @@ defaults: working-directory: client jobs: - build: + deploy_frontend_prod: runs-on: ubuntu-latest steps: - name: Checkout Repository Code uses: actions/checkout@v1 + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: 12 - name: Rebuild sass run: npm rebuild node-sass - name: Install Packages