Skip to content

Bump react-router-dom from 6.22.3 to 6.26.2 in /frontendui #1053

Bump react-router-dom from 6.22.3 to 6.26.2 in /frontendui

Bump react-router-dom from 6.22.3 to 6.26.2 in /frontendui #1053

Workflow file for this run

name: Test Suites
on:
pull_request:
branches:
- master
- development
push:
branches:
- development
jobs:
test:
name: Test
runs-on: ubuntu-latest
env:
working_dir: ./frontendui
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Node Setup
uses: actions/setup-node@v1
with:
node-version: 12
- name: NPM Install
run: npm ci
working-directory: ${{env.working_dir}}
- name: Test Suites
run: npm test
working-directory: ${{env.working_dir}}
build:
name: Build
needs: [test]
runs-on: ubuntu-latest
env:
working_dir: ./frontendui
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Node Setup
uses: actions/setup-node@v1
with:
node-version: 12
- name: NPM Install
run: npm ci
working-directory: ${{env.working_dir}}
- name: Build Frontend
run: npm run build
working-directory: ${{env.working_dir}}
- name: Upload Frontend Artifacts
uses: actions/upload-artifact@v2
with:
name: forntendbuild
path: frontendui/build
compile:
name: Cleanup
needs: [test, build]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Download Frontend Artifacts
uses: actions/[email protected]
with:
name: forntendbuild
path: WebBackendEngine/client
- name: Cleanup
run: |
rm -r frontendui
rm -r ImageCaptioning
- name: Display structure of downloaded files
run: ls -R