Skip to content

feat(react): upgrade dev dependency to react 18 #117

feat(react): upgrade dev dependency to react 18

feat(react): upgrade dev dependency to react 18 #117

name: Run PR checks
on:
pull_request:
workflow_call:
jobs:
runCI:
name: CI
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
yarn install
yarn build-dist
- name: Format
run: yarn prettier --check .
- name: Lint
run: yarn lint
- name: Test
run: yarn test-dist-skip-build
- name: Validate generate-mjml-react.ts has been run
run: ./scripts/validateMjmlReactHasBeenRun.sh