[SDP-1369] FE changes for registration types (#176) #436
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 |