-
Notifications
You must be signed in to change notification settings - Fork 58
53 lines (48 loc) · 1.18 KB
/
task-manager.yml
File metadata and controls
53 lines (48 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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:
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