feat!: add support for Next.js route handlers by bundling React #534
Workflow file for this run
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: CI | |
env: | |
FORCE_COLOR: 2 | |
NODE: 18 | |
on: | |
pull_request: | |
branches: | |
- master | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODE }} | |
- name: Install dependencies and build | |
run: yarn install | |
- name: Check size | |
run: yarn --cwd packages/renderer run size | |
- name: Run tests | |
run: yarn test |