fix(jsx-email): ensure head exists for head-scoped blocks #734
This file contains hidden or 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: Run Tests | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| types: | |
| - edited | |
| - opened | |
| - synchronize | |
| push: | |
| branches: | |
| - '*' | |
| - '!main' | |
| jobs: | |
| validate: | |
| name: Run Tests | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - macos-latest | |
| - windows-latest | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout Commit | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 10 | |
| - name: Checkout Main | |
| run: | | |
| git fetch origin | |
| git branch -f main origin/main | |
| - name: Setup | |
| uses: ./.github/actions/setup | |
| - name: Build Projects | |
| run: | | |
| moon jsx-email:build | |
| moon create-jsx-email:build | |
| moon run :build --query "project~plugin-*" | |
| - name: Package Tests | |
| run: moon run jsx-email:test.ci |