Adding gradle plugin to documentation #623
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: Mjml CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [10.x, 12.x, 14.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: Run linting & tests | |
run: | | |
yarn install | |
yarn build | |
yarn lint | |
cd packages/mjml-parser-xml | |
yarn install | |
yarn test --debug | |
cd ../../packages/mjml-core | |
yarn test --debug | |
cd ../../packages/mjml | |
yarn test |