Skip to content

Commit 456432b

Browse files
committed
Merge branch 'source' into landing--interactive-editor-on-landing
2 parents 2664b3e + 4c55544 commit 456432b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+3362
-1957
lines changed

.github/workflows/check.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,28 @@ jobs:
2626
- name: Validate code snippets
2727
run: pnpm validate:snippets
2828

29+
playwright:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: actions/checkout@v4
33+
34+
- uses: the-guild-org/shared-config/setup@main
35+
name: setup env
36+
with:
37+
packageManager: pnpm
38+
workingDirectory: ./
39+
40+
- name: Install Dependencies
41+
run: pnpm i
42+
2943
# per the docs: "caching browser binaries is not recommended,
3044
# since the amount of time it takes to restore the cache is
3145
# comparable to the time it takes to download the binaries"
3246
- name: Install Playwright Browsers
33-
run: pnpx playwright install --with-deps
47+
run: ./node_modules/.bin/playwright install --with-deps
3448

3549
- name: Run Playwright tests
36-
run: pnpm test:e2e
50+
run: ./node_modules/.bin/playwright test
3751

3852
- name: Run unit tests
3953
run: pnpm test:unit

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.12.0
1+
22.19.0

.prettierignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ pnpm-lock.yaml
99
!src/pages/blog/2025-06-19-multioption-inputs-with-oneof/index.mdx
1010
*.jpg
1111

12-
scripts/sync-sched/*.json
13-
src/github-stats.json
12+
scripts/**/*.json

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "module",
44
"repository": "graphql/graphql.github.io website",
55
"private": true,
6-
"packageManager": "pnpm@10.15.0",
6+
"packageManager": "pnpm@10.16.1+sha512.0e155aa2629db8672b49e8475da6226aa4bdea85fdcdfdc15350874946d4f3c91faaf64cbdc4a5d1ab8002f473d5c3fcedcd197989cf0390f9badd3c04678706",
77
"scripts": {
88
"analyze": "ANALYZE=true next build",
99
"build": "next build && next-image-export-optimizer",
@@ -15,7 +15,7 @@
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 src/get-github-info.ts",
18+
"prebuild": "tsx scripts/get-github-info",
1919
"serve": "pnpx serve out",
2020
"test": "playwright test && pnpm test:unit",
2121
"test:e2e": "playwright test",
@@ -94,8 +94,10 @@
9494
"@next/eslint-plugin-next": "^15.3.3",
9595
"@playwright/test": "^1.54.2",
9696
"@svgr/webpack": "^8.1.0",
97+
"@testing-library/react": "^16.3.0",
9798
"@types/codemirror": "5.60.16",
9899
"@types/hast": "3.0.4",
100+
"@types/jsdom": "^21.1.7",
99101
"@types/node": "^22.10.5",
100102
"@types/react": "^18.3.23",
101103
"@types/rss": "0.0.32",
@@ -108,8 +110,9 @@
108110
"eslint-plugin-react": "^7.37.5",
109111
"eslint-plugin-react-hooks": "^5.2.0",
110112
"eslint-plugin-tailwindcss": "3.18.2",
113+
"jsdom": "^26.1.0",
111114
"prettier": "3.5.3",
112-
"prettier-plugin-pkg": "^0.20.0",
115+
"prettier-plugin-pkg": "^0.21.0",
113116
"prettier-plugin-tailwindcss": "^0.6.12",
114117
"remark-frontmatter": "5.0.0",
115118
"remark-lint-first-heading-level": "3.1.2",

0 commit comments

Comments
 (0)