Migrate examples to latest Meteor 3.4 #13
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: task-manager | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "task-manager/**" | |
| - ".github/workflows/task-manager.yml" | |
| pull_request: | |
| paths: | |
| - "task-manager/**" | |
| - ".github/workflows/task-manager.yml" | |
| defaults: | |
| run: | |
| working-directory: task-manager | |
| jobs: | |
| lint: | |
| if: false # temporarily disabled | |
| name: Lint (Biome) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: meteorengineer/setup-meteor@v2 | |
| - run: meteor npm install | |
| - run: npm run lint | |
| test: | |
| name: Test (Mocha) | |
| runs-on: ubuntu-latest | |
| needs: lint | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: meteorengineer/setup-meteor@v2 | |
| - run: meteor npm install | |
| - run: npm run test:headless | |
| e2e: | |
| name: E2E (Playwright) | |
| runs-on: ubuntu-latest | |
| needs: test | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: meteorengineer/setup-meteor@v2 | |
| - run: meteor npm install | |
| - run: npx playwright install --with-deps chromium | |
| - run: npm run e2e:headless | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: task-manager-test-results | |
| path: task-manager/test-results/ | |
| retention-days: 7 |