Skip to content

Commit 991ab85

Browse files
Merge pull request #1195 from hackforla/1194-v2-was-pushed-to-v1-prod-site4
Add engines block on master branch for force prod redeployment
2 parents 8adc3dd + f33ee65 commit 991ab85

File tree

4 files changed

+20
-3
lines changed

4 files changed

+20
-3
lines changed

.github/workflows/Continuous_Deployment_Frontend_Dev.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,22 @@ on:
66
- dev
77
paths:
88
- 'client/**'
9+
workflow_dispatch:
910

1011
defaults:
1112
run:
1213
working-directory: client
1314

1415
jobs:
15-
build:
16+
deploy_frontend_dev:
1617
runs-on: ubuntu-latest
1718
steps:
1819
- name: Checkout Repository Code
1920
uses: actions/checkout@v1
21+
- name: Setup Node
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: 12
2025
- name: Rebuild sass
2126
run: npm rebuild node-sass
2227
- name: Install Packages

.github/workflows/Continuous_Deployment_Frontend_Prod.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ defaults:
1212
working-directory: client
1313

1414
jobs:
15-
build:
15+
deploy_frontend_prod:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout Repository Code
1919
uses: actions/checkout@v1
20+
- name: Setup Node
21+
uses: actions/setup-node@v3
22+
with:
23+
node-version: 12
2024
- name: Rebuild sass
2125
run: npm rebuild node-sass
2226
- name: Install Packages

.github/workflows/Continuous_Integration_Frontend.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,21 @@ on:
44
pull_request:
55
paths:
66
- 'client/**'
7+
- '.github/workflows/Continuous_Integration_Frontend.yml'
8+
workflow_dispatch:
79

810
defaults:
911
run:
1012
working-directory: client
1113

1214
jobs:
13-
build:
15+
ci_frontend_build:
1416
runs-on: ubuntu-latest
1517
steps:
1618
- uses: actions/checkout@v1
19+
- uses: actions/setup-node@v3
20+
with:
21+
node-version: 12
1722
- name: Install Packages
1823
run: npm install
1924
- name: Lint

client/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"name": "311-data",
33
"version": "0.1.0",
4+
"engines": {
5+
"node": "12.x"
6+
},
47
"homepage": "https://www.311-data.org/",
58
"dependencies": {
69
"@react-pdf/renderer": "^1.6.8",

0 commit comments

Comments
 (0)