Skip to content

fix(CI): Bump node version of release action #116

fix(CI): Bump node version of release action

fix(CI): Bump node version of release action #116

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