Skip to content

Commit 78c8555

Browse files
authored
working groups on events page (#2235)
## Description Added a script to fetch working group events from the google calendar and merged the working groups with existing past and upcoming events lists we display on `/community/events`. <img width="1485" height="927" alt="image" src="https://github.com/user-attachments/assets/4f1a620e-4391-4d6f-a5b9-7e432c119881" />
1 parent 882f302 commit 78c8555

File tree

19 files changed

+1074
-437
lines changed

19 files changed

+1074
-437
lines changed

.github/workflows/check.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ jobs:
6363
- name: Install Playwright Browsers
6464
run: ./node_modules/.bin/playwright install --with-deps
6565

66+
- name: Build the website
67+
run: pnpm build
68+
6669
- name: Run end-to-end tests
6770
run: ./node_modules/.bin/playwright test
6871

@@ -72,3 +75,6 @@ jobs:
7275
name: playwright-report
7376
path: playwright-report/
7477
retention-days: 30
78+
79+
# - uses: valeriangalliat/action-sshd-cloudflared@v1
80+
# if: failure()

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@
1515
"lint:docs": "eslint --ignore-path .gitignore src/pages/learn --format stylish",
1616
"lint:docs:ci": "eslint --ignore-path .gitignore src/pages/learn --format eslint-formatter-github",
1717
"postbuild": "next-sitemap",
18-
"prebuild": "tsx scripts/get-github-info && tsx scripts/sync-landing-schema/src/index.ts",
18+
"prebuild": "tsx scripts/get-github-info && node scripts/sync-landing-schema && node scripts/sync-working-groups",
1919
"start": "next start",
2020
"test": "playwright test && pnpm test:unit",
2121
"test:e2e": "playwright test",
22+
"test:show-report": "playwright show-report",
2223
"test:ui": "playwright test --ui",
2324
"test:unit": "node --import=tsx --test 'src/**/*.test.tsx'",
2425
"validate:snippets": "node scripts/validate-snippets.js"

playwright.config.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,15 @@ export default defineConfig({
2727
channel: "chromium",
2828
...(process.env.CI
2929
? {
30-
args: [
31-
"--enable-gpu",
32-
"--use-gl=angle",
33-
"--use-angle=gl-egl",
34-
"--ignore-gpu-blocklist",
35-
"--enable-unsafe-swiftshader",
36-
],
30+
args: ["--enable-gpu"],
3731
}
3832
: {}),
3933
},
4034
},
4135
],
4236

4337
webServer: {
44-
command: "pnpm dev",
38+
command: process.env.CI ? "pnpm start" : "pnpm dev",
4539
url: "http://localhost:3000",
4640
reuseExistingServer: !process.env.CI,
4741
},

pnpm-lock.yaml

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
packages:
22
- "."
33
- "scripts/sync-landing-schema"
4+
- "scripts/sync-working-groups"

0 commit comments

Comments
 (0)