Skip to content

[Snyk] Security upgrade react-router-dom from 5.1.2 to 6.0.0 #155

[Snyk] Security upgrade react-router-dom from 5.1.2 to 6.0.0

[Snyk] Security upgrade react-router-dom from 5.1.2 to 6.0.0 #155

Workflow file for this run

name: build-pipeline
on:
pull_request:
branches:
- master
- staging
jobs:
changes:
runs-on: ubuntu-latest
# Set job outputs to values from filter step
outputs:
client: ${{ steps.filter.outputs.client }}
server: ${{ steps.filter.outputs.server }}
steps:
# For pull requests it's not necessary to checkout the code
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
client:
- 'app/client/**'
server:
- 'app/server/**'
frontend-docker-build:
runs-on: ubuntu-latest
needs: changes
if: ${{ needs.changes.outputs.client == 'true' }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build docker image
shell: bash
run: |
docker build . -f Dockerfile.client
server-docker-build:
runs-on: ubuntu-latest
needs: changes
if: ${{ needs.changes.outputs.server == 'true' }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build docker image
shell: bash
run: |
docker build . -f Dockerfile.server