Skip to content

Commit

Permalink
Merge pull request #1195 from hackforla/1194-v2-was-pushed-to-v1-prod…
Browse files Browse the repository at this point in the history
…-site4

Add engines block on master branch for force prod redeployment
  • Loading branch information
ExperimentsInHonesty authored May 9, 2022
2 parents 8adc3dd + f33ee65 commit 991ab85
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 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
7 changes: 6 additions & 1 deletion .github/workflows/Continuous_Integration_Frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,21 @@ on:
pull_request:
paths:
- 'client/**'
- '.github/workflows/Continuous_Integration_Frontend.yml'
workflow_dispatch:

defaults:
run:
working-directory: client

jobs:
build:
ci_frontend_build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v3
with:
node-version: 12
- name: Install Packages
run: npm install
- name: Lint
Expand Down
3 changes: 3 additions & 0 deletions client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"name": "311-data",
"version": "0.1.0",
"engines": {
"node": "12.x"
},
"homepage": "https://www.311-data.org/",
"dependencies": {
"@react-pdf/renderer": "^1.6.8",
Expand Down

0 comments on commit 991ab85

Please sign in to comment.