Skip to content

Commit

Permalink
Add more setup node blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
nichhk committed May 9, 2022
1 parent 66ccd78 commit f33ee65
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/Continuous_Deployment_Frontend_Dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/Continuous_Deployment_Frontend_Prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f33ee65

Please sign in to comment.