e2e: require workflows exit with canceled error when expected to be c… #2015
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: Build & Test UI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
paths: [ui/**] | |
jobs: | |
build-test: | |
name: Build & Test UI | |
strategy: | |
matrix: | |
runner: [ubicloud-standard-2-ubuntu-2204-arm] | |
runs-on: ${{ matrix.runner }} | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- uses: bufbuild/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: setup protos | |
run: | | |
./generate_protos.sh | |
- name: Install Node.js dependencies | |
working-directory: ui | |
run: npm ci | |
- name: Build | |
working-directory: ui | |
run: npm run build |