Create needs to contain the template #19
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: Run Checks | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- name: Install Dependencies | |
run: bun i | |
# If only bun had `-ws` or equivalent... | |
- name: Build core | |
run: | | |
cd packages/core | |
bun run build | |
cd ../.. | |
# Pain | |
- name: Build jsx | |
run: | | |
cd packages/jsx | |
bun run build | |
cd ../.. | |
# Can we even automate this? | |
- name: Build handlers | |
run: | | |
cd packages/handlers | |
bun run build | |
cd ../.. | |
- name: Run Eslint | |
run: bun run check |