[SDP-1323] Fix bug introduced in PR #134 where the upload csv button would never be enabled #341
Workflow file for this run
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 and build | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
workflow_call: # allows this workflow to be called from another workflow | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- run: yarn install | |
- run: yarn build | |
complete: | |
if: always() | |
needs: [build] | |
runs-on: ubuntu-latest | |
steps: | |
- if: | |
contains(needs.*.result, 'failure') || contains(needs.*.result, | |
'cancelled') | |
run: exit 1 |