-
Notifications
You must be signed in to change notification settings - Fork 41
40 lines (34 loc) · 917 Bytes
/
build-assert.yml
File metadata and controls
40 lines (34 loc) · 917 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Build Checks
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
react-version: [19, 18]
include:
- react-version: 19
app-name: react-app-19
react-dom-version: ^19.0.0
react-types-version: ^19.0.0
- react-version: 18
app-name: react-app-18
react-dom-version: ^18.2.0
react-types-version: ^18.2.0
name: React ${{ matrix.react-version }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Project Base
uses: ./.github/actions/setup-project
- name: Build Core
run: yarn workspace @grapesjs/react run build
- name: Build Full Example App
run: yarn workspace @grapesjs/${{ matrix.app-name }} run build