Replace htmlnano with html-crush #759
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: [20.x, 22.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 |