Bump python-multipart from 0.0.19 to 0.0.20 #1120
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |