Feature/handle in sdk errors more gracefully (#55) #328
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
env: | |
BUILD_CONTEXT: frontend | |
name: Check frontend | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# Required to compile the client SDKS on runners without built-in node suppot | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '>= 20' | |
- name: Compile SDKs | |
run: | | |
OPENAPI_BASE=/api make frontend-clients | |
- name: Build and push | |
uses: docker/build-push-action@v5 | |
with: | |
context: ${{ env.BUILD_CONTEXT }} | |
push: false |