Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add engines block on master branch for force prod redeployment #1195

Merged
merged 6 commits into from
May 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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