Support Resend hosted templates and chunking #2
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: 'Tests' | |
| on: [ push ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '24' | |
| - run: npm ci | |
| - run: npm run test | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '24' | |
| - run: npm ci | |
| - run: npm run build | |
| - name: Verify dist/ is up to date | |
| run: | | |
| if [ -n "$(git status --porcelain dist/)" ]; then | |
| echo "::error::dist/ is out of date. Run 'npm run build' locally and commit the result." | |
| git status --porcelain dist/ | |
| git --no-pager diff -- dist/ | |
| exit 1 | |
| fi |