Fix: (zenflux
) - Setup GitHub actions workflow for React packages
#13
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: React Package Build and Test | |
on: [push, pull_request] | |
jobs: | |
react-build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v1 | |
- name: Install Dependencies | |
run: bun install | |
- name: Build | |
run: bun run @z-cli @build --workspace "react-*" --haltOnDiagnosticError | |
- name: Run Tests | |
run: bun run @z-flux:jest:react |