Add Mailstrom: a Gmail bulk-cleanup PWA for iPhone #1
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: mailstrom | |
| on: | |
| push: | |
| paths: | |
| - 'mailstrom/**' | |
| - '.github/workflows/mailstrom.yml' | |
| pull_request: | |
| paths: | |
| - 'mailstrom/**' | |
| - '.github/workflows/mailstrom.yml' | |
| defaults: | |
| run: | |
| working-directory: mailstrom | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| cache-dependency-path: mailstrom/package-lock.json | |
| - run: npm ci | |
| - run: npm run lint | |
| - run: npm test | |
| - run: npm run build | |
| # Only Chromium is needed; the e2e project pins that browser. | |
| - run: npx playwright install --with-deps chromium | |
| - run: npm run test:e2e | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: playwright-report | |
| path: mailstrom/playwright-report/ | |
| retention-days: 7 |