infra: Enable integration tests for all PRs and fix broken tests #48
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: Coral Web - Format and build | |
on: | |
push: | |
branches: [main] | |
paths: | |
- src/interfaces/coral_web/** | |
pull_request: {} | |
merge_group: {} | |
jobs: | |
interface_tests: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: src/interfaces/coral_web | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: Set up Node.js and install dependencies | |
uses: ./.github/actions/coral-web-install | |
- name: Check coral_web is formatted | |
run: npm run format | |
- name: Check coral_web can build | |
run: npm run build |