Skip to content

Commit d751f0f

Browse files
authored
Merge pull request #42 from meteor/migrate-examples
Migrate examples to latest Meteor 3.4
2 parents 9feadd8 + 5eac1ca commit d751f0f

323 files changed

Lines changed: 91050 additions & 41285 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: complex-todos-svelte
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- "complex-todos-svelte/**"
8+
- ".github/workflows/complex-todos-svelte.yml"
9+
pull_request:
10+
paths:
11+
- "complex-todos-svelte/**"
12+
- ".github/workflows/complex-todos-svelte.yml"
13+
14+
defaults:
15+
run:
16+
working-directory: complex-todos-svelte
17+
18+
jobs:
19+
lint:
20+
if: false # temporarily disabled
21+
name: Lint (oxlint)
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v4
25+
- uses: meteorengineer/setup-meteor@v2
26+
- run: meteor npm install
27+
- run: npm run lint
28+
29+
test:
30+
name: Test (Mocha)
31+
runs-on: ubuntu-latest
32+
needs: lint
33+
steps:
34+
- uses: actions/checkout@v4
35+
- uses: meteorengineer/setup-meteor@v2
36+
- run: meteor npm install
37+
- run: npm run test:headless
38+
39+
e2e:
40+
name: E2E (Cypress)
41+
runs-on: ubuntu-latest
42+
needs: test
43+
steps:
44+
- uses: actions/checkout@v4
45+
- uses: meteorengineer/setup-meteor@v2
46+
- run: meteor npm install
47+
- name: Start Meteor app
48+
run: |
49+
export METEOR_SETTINGS=$(cat settings.json)
50+
meteor npm start &
51+
- run: npx wait-on http://localhost:3000 --timeout 120000
52+
- run: npm run e2e:headless
53+
- uses: actions/upload-artifact@v4
54+
if: failure()
55+
with:
56+
name: complex-todos-svelte-cypress
57+
path: complex-todos-svelte/cypress/screenshots/
58+
retention-days: 7
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: notes-offline
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- "notes-offline/**"
8+
- ".github/workflows/notes-offline.yml"
9+
pull_request:
10+
paths:
11+
- "notes-offline/**"
12+
- ".github/workflows/notes-offline.yml"
13+
14+
defaults:
15+
run:
16+
working-directory: notes-offline
17+
18+
jobs:
19+
lint:
20+
if: false # temporarily disabled
21+
name: Lint (ESLint + Prettier)
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v4
25+
- uses: meteorengineer/setup-meteor@v2
26+
- run: meteor npm install
27+
- run: npm run lint
28+
29+
test:
30+
name: Test (Mocha)
31+
runs-on: ubuntu-latest
32+
needs: lint
33+
steps:
34+
- uses: actions/checkout@v4
35+
- uses: meteorengineer/setup-meteor@v2
36+
- run: meteor npm install
37+
- run: npm run test:headless
38+
39+
e2e:
40+
name: E2E (Playwright)
41+
runs-on: ubuntu-latest
42+
needs: test
43+
steps:
44+
- uses: actions/checkout@v4
45+
- uses: meteorengineer/setup-meteor@v2
46+
- run: meteor npm install
47+
- run: npx playwright install --with-deps chromium
48+
- run: npm run e2e:headless
49+
- uses: actions/upload-artifact@v4
50+
if: failure()
51+
with:
52+
name: notes-offline-test-results
53+
path: notes-offline/test-results/
54+
retention-days: 7

.github/workflows/parties.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: parties
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- "parties/**"
8+
- ".github/workflows/parties.yml"
9+
pull_request:
10+
paths:
11+
- "parties/**"
12+
- ".github/workflows/parties.yml"
13+
14+
defaults:
15+
run:
16+
working-directory: parties
17+
18+
jobs:
19+
lint:
20+
if: false # temporarily disabled
21+
name: Lint (RSLint)
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v4
25+
- uses: meteorengineer/setup-meteor@v2
26+
- run: meteor npm install
27+
- run: npm run lint
28+
29+
test:
30+
name: Test (Mocha)
31+
runs-on: ubuntu-latest
32+
needs: lint
33+
steps:
34+
- uses: actions/checkout@v4
35+
- uses: meteorengineer/setup-meteor@v2
36+
- run: meteor npm install
37+
- run: npm run test:headless
38+
39+
e2e:
40+
name: E2E (Playwright)
41+
runs-on: ubuntu-latest
42+
needs: test
43+
steps:
44+
- uses: actions/checkout@v4
45+
- uses: meteorengineer/setup-meteor@v2
46+
- run: meteor npm install
47+
- run: npx playwright install --with-deps chromium
48+
- run: npm run e2e:headless
49+
- uses: actions/upload-artifact@v4
50+
if: failure()
51+
with:
52+
name: parties-test-results
53+
path: parties/test-results/
54+
retention-days: 7

.github/workflows/task-manager.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: task-manager
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- "task-manager/**"
8+
- ".github/workflows/task-manager.yml"
9+
pull_request:
10+
paths:
11+
- "task-manager/**"
12+
- ".github/workflows/task-manager.yml"
13+
14+
defaults:
15+
run:
16+
working-directory: task-manager
17+
18+
jobs:
19+
lint:
20+
if: false # temporarily disabled
21+
name: Lint (Biome)
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v4
25+
- uses: meteorengineer/setup-meteor@v2
26+
- run: meteor npm install
27+
- run: npm run lint
28+
29+
test:
30+
name: Test (Mocha)
31+
runs-on: ubuntu-latest
32+
needs: lint
33+
steps:
34+
- uses: actions/checkout@v4
35+
- uses: meteorengineer/setup-meteor@v2
36+
- run: meteor npm install
37+
- run: npm run test:headless
38+
39+
e2e:
40+
name: E2E (Playwright)
41+
runs-on: ubuntu-latest
42+
needs: test
43+
steps:
44+
- uses: actions/checkout@v4
45+
- uses: meteorengineer/setup-meteor@v2
46+
- run: meteor npm install
47+
- run: npx playwright install --with-deps chromium
48+
- run: npm run e2e:headless
49+
- uses: actions/upload-artifact@v4
50+
if: failure()
51+
with:
52+
name: task-manager-test-results
53+
path: task-manager/test-results/
54+
retention-days: 7

.github/workflows/tic-tac-toe.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: tic-tac-toe
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- "tic-tac-toe/**"
8+
- ".github/workflows/tic-tac-toe.yml"
9+
pull_request:
10+
paths:
11+
- "tic-tac-toe/**"
12+
- ".github/workflows/tic-tac-toe.yml"
13+
14+
defaults:
15+
run:
16+
working-directory: tic-tac-toe
17+
18+
jobs:
19+
lint:
20+
if: false # temporarily disabled
21+
name: Lint (oxlint)
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v4
25+
- uses: meteorengineer/setup-meteor@v2
26+
- run: meteor npm install
27+
- run: npm run lint
28+
29+
test:
30+
name: Test (Mocha)
31+
runs-on: ubuntu-latest
32+
needs: lint
33+
steps:
34+
- uses: actions/checkout@v4
35+
- uses: meteorengineer/setup-meteor@v2
36+
- run: meteor npm install
37+
- run: npm run test:headless
38+
39+
e2e:
40+
name: E2E (Playwright)
41+
runs-on: ubuntu-latest
42+
needs: test
43+
steps:
44+
- uses: actions/checkout@v4
45+
- uses: meteorengineer/setup-meteor@v2
46+
- run: meteor npm install
47+
- run: npx playwright install --with-deps chromium
48+
- run: npm run e2e:headless
49+
- uses: actions/upload-artifact@v4
50+
if: failure()
51+
with:
52+
name: tic-tac-toe-test-results
53+
path: tic-tac-toe/test-results/
54+
retention-days: 7

0 commit comments

Comments
 (0)