Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
9b54cb5
Draft a sync script
hasparus Nov 17, 2025
ce1d0c3
Improve the script
hasparus Nov 17, 2025
df05f5f
Fix the script
hasparus Nov 17, 2025
3bc5472
Show working groups on events page
hasparus Nov 17, 2025
2dd1249
Improve the script
hasparus Nov 17, 2025
0248958
Render without dashes
hasparus Nov 17, 2025
59794fd
Fix event filters
hasparus Nov 18, 2025
7d92c5d
Disable filters if there's just one option
hasparus Nov 18, 2025
1dd567d
Add a test to event filters
hasparus Nov 18, 2025
bcba864
Extract getAllEvents to a new file
hasparus Nov 18, 2025
7fa157e
Do not show past meetups in upcoming events
hasparus Nov 18, 2025
552a95e
Add another test
hasparus Nov 18, 2025
929c47f
Add RSS route
hasparus Nov 18, 2025
194283e
Format
hasparus Nov 18, 2025
f8c9f80
Make the tests more resilient
hasparus Nov 18, 2025
789964c
Add RSS link
hasparus Nov 18, 2025
75d9b86
Remove test.slow() as it does not help at all
hasparus Nov 18, 2025
d79f2a8
Merge branch 'working-groups-on-events-page' into events-rss
hasparus Nov 18, 2025
8e9d4b2
Improve mobile layout
hasparus Nov 18, 2025
caec90e
Fiddle with the test
hasparus Nov 18, 2025
eabaa79
Do the other tests time out BECAUSE of a canvas?
hasparus Nov 18, 2025
970a7e1
Format
hasparus Nov 18, 2025
2c6282e
Fiddle with options
hasparus Nov 18, 2025
b76b4b5
Format
hasparus Nov 18, 2025
857e532
Add a missing else
hasparus Nov 18, 2025
28d1e5f
Run Playwright against next start on CI
hasparus Nov 18, 2025
556b27e
Give up, I'll work on tests on CI later
hasparus Nov 19, 2025
5e63522
Merge pull request #57 from hasparus/events-rss
hasparus Nov 19, 2025
894140b
Rename to rss.xml
hasparus Nov 19, 2025
720bfe9
Comment out action-sshd-cloudflared
hasparus Nov 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ jobs:
- name: Install Playwright Browsers
run: ./node_modules/.bin/playwright install --with-deps

- name: Build the website
run: pnpm build

- name: Run end-to-end tests
run: ./node_modules/.bin/playwright test

Expand All @@ -72,3 +75,6 @@ jobs:
name: playwright-report
path: playwright-report/
retention-days: 30

# - uses: valeriangalliat/action-sshd-cloudflared@v1
# if: failure()
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
"lint:docs": "eslint --ignore-path .gitignore src/pages/learn --format stylish",
"lint:docs:ci": "eslint --ignore-path .gitignore src/pages/learn --format eslint-formatter-github",
"postbuild": "next-sitemap",
"prebuild": "tsx scripts/get-github-info && tsx scripts/sync-landing-schema/src/index.ts",
"prebuild": "tsx scripts/get-github-info && node scripts/sync-landing-schema && node scripts/sync-working-groups",
"start": "next start",
"test": "playwright test && pnpm test:unit",
"test:e2e": "playwright test",
"test:show-report": "playwright show-report",
"test:ui": "playwright test --ui",
"test:unit": "node --import=tsx --test 'src/**/*.test.tsx'",
"validate:snippets": "node scripts/validate-snippets.js"
Expand Down
10 changes: 2 additions & 8 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,15 @@ export default defineConfig({
channel: "chromium",
...(process.env.CI
? {
args: [
"--enable-gpu",
"--use-gl=angle",
"--use-angle=gl-egl",
"--ignore-gpu-blocklist",
"--enable-unsafe-swiftshader",
],
args: ["--enable-gpu"],
}
: {}),
},
},
],

webServer: {
command: "pnpm dev",
command: process.env.CI ? "pnpm start" : "pnpm dev",
url: "http://localhost:3000",
reuseExistingServer: !process.env.CI,
},
Expand Down
34 changes: 34 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
packages:
- "."
- "scripts/sync-landing-schema"
- "scripts/sync-working-groups"
Loading
Loading