Skip to content

Commit 07902d3

Browse files
author
Etherpad Release Bot
committed
Merge branch 'develop'
2 parents f1000e2 + db602bc commit 07902d3

239 files changed

Lines changed: 20146 additions & 1644 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.

.github/workflows/backend-tests.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
# PRs: test on latest Node only. Push to develop: full matrix.
31-
node: ${{ github.event_name == 'pull_request' && fromJSON('[24]') || fromJSON('[20, 22, 24]') }}
31+
node: ${{ github.event_name == 'pull_request' && fromJSON('[24]') || fromJSON('[22, 24, 25]') }}
3232
steps:
3333
-
3434
name: Checkout repository
@@ -43,7 +43,6 @@ jobs:
4343
- uses: pnpm/action-setup@v6
4444
name: Install pnpm
4545
with:
46-
version: 10.33.2
4746
run_install: false
4847
- name: Use Node.js
4948
uses: actions/setup-node@v6
@@ -85,7 +84,7 @@ jobs:
8584
strategy:
8685
fail-fast: false
8786
matrix:
88-
node: ${{ github.event_name == 'pull_request' && fromJSON('[24]') || fromJSON('[20, 22, 24]') }}
87+
node: ${{ github.event_name == 'pull_request' && fromJSON('[24]') || fromJSON('[22, 24, 25]') }}
8988
steps:
9089
-
9190
name: Checkout repository
@@ -100,7 +99,6 @@ jobs:
10099
- uses: pnpm/action-setup@v6
101100
name: Install pnpm
102101
with:
103-
version: 10.33.2
104102
run_install: false
105103
- name: Use Node.js
106104
uses: actions/setup-node@v6
@@ -126,7 +124,9 @@ jobs:
126124
ep_align
127125
ep_author_hover
128126
ep_cursortrace
127+
ep_font_color
129128
ep_font_size
129+
ep_hash_auth
130130
ep_headings2
131131
ep_markdown
132132
ep_readonly_guest
@@ -150,7 +150,7 @@ jobs:
150150
strategy:
151151
fail-fast: false
152152
matrix:
153-
node: [20, 22, 24]
153+
node: [22, 24, 25]
154154
name: Windows without plugins
155155
runs-on: windows-latest
156156
steps:
@@ -167,7 +167,6 @@ jobs:
167167
- uses: pnpm/action-setup@v6
168168
name: Install pnpm
169169
with:
170-
version: 10.33.2
171170
run_install: false
172171
- name: Use Node.js
173172
uses: actions/setup-node@v6
@@ -201,7 +200,7 @@ jobs:
201200
strategy:
202201
fail-fast: false
203202
matrix:
204-
node: [20, 22, 24]
203+
node: [22, 24, 25]
205204
name: Windows with Plugins
206205
runs-on: windows-latest
207206

@@ -219,7 +218,6 @@ jobs:
219218
- uses: pnpm/action-setup@v6
220219
name: Install pnpm
221220
with:
222-
version: 10.33.2
223221
run_install: false
224222
- name: Use Node.js
225223
uses: actions/setup-node@v6
@@ -238,7 +236,9 @@ jobs:
238236
ep_align
239237
ep_author_hover
240238
ep_cursortrace
239+
ep_font_color
241240
ep_font_size
241+
ep_hash_auth
242242
ep_headings2
243243
ep_markdown
244244
ep_readonly_guest
Lines changed: 40 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,38 @@
1-
# Workflow for deploying static content to GitHub Pages
1+
# Workflow for building and deploying the VitePress site to GitHub Pages.
2+
# Build runs on every push to develop and on every PR that touches docs (so
3+
# a build regression is caught at review time instead of breaking develop
4+
# after merge — see #7640). Deploy runs only on push: the github-pages
5+
# environment has protection rules that reject PR refs, and a PR build
6+
# never produced an artifact to deploy anyway.
27
name: Deploy Docs to GitHub Pages
38

49
on:
5-
# Runs on pushes targeting the default branch
610
push:
711
branches: ["develop"]
812
paths:
9-
- doc/** # Only run workflow when changes are made to the doc directory
10-
# Allows you to run this workflow manually from the Actions tab
13+
- doc/**
14+
- .github/workflows/build-and-deploy-docs.yml
15+
pull_request:
16+
paths:
17+
- doc/**
18+
- .github/workflows/build-and-deploy-docs.yml
1119
workflow_dispatch:
1220

13-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1421
permissions:
1522
contents: read
1623
pages: write
1724
id-token: write
1825
packages: read
1926

20-
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
21-
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
27+
# Allow only one concurrent deployment, skipping runs queued between the run
28+
# in-progress and latest queued. Do NOT cancel in-progress runs — production
29+
# deployments are allowed to complete.
2230
concurrency:
2331
group: "pages"
2432
cancel-in-progress: false
2533

2634
jobs:
27-
# Single deploy job since we're just deploying
28-
deploy:
29-
environment:
30-
name: github-pages
31-
url: ${{ steps.deployment.outputs.page_url }}
35+
build:
3236
runs-on: ubuntu-latest
3337
steps:
3438
- name: Checkout
@@ -50,22 +54,44 @@ jobs:
5054
- uses: pnpm/action-setup@v6
5155
name: Install pnpm
5256
with:
53-
version: 10.33.2
5457
run_install: false
58+
# Pin Node so the build does not silently fall back to whatever the
59+
# runner image ships with. vite 8 requires Node ^20.19.0 || >=22.12.0;
60+
# the repo declares engines.node >=22.12.0 to match.
61+
- name: Use Node.js
62+
uses: actions/setup-node@v6
63+
with:
64+
node-version: 22
65+
cache: pnpm
5566
- name: Setup Pages
67+
if: github.event_name == 'push'
5668
uses: actions/configure-pages@v6
5769
- name: Install dependencies
5870
run: pnpm install --frozen-lockfile
5971
- name: Build app
6072
working-directory: doc
6173
run: pnpm run docs:build
6274
env:
75+
GITHUB_PAGES: ${{ github.event_name == 'push' && 'true' || '' }}
6376
COMMIT_REF: ${{ github.sha }}
6477
- name: Upload artifact
78+
if: github.event_name == 'push'
6579
uses: actions/upload-pages-artifact@v5
6680
with:
67-
# Upload entire repository
6881
path: './doc/.vitepress/dist'
82+
83+
# Deploy to GitHub Pages on push to develop only. Kept as a separate job
84+
# because the github-pages environment's protection rules reject any
85+
# non-develop ref (including PR merge refs), which used to fail the entire
86+
# workflow at job-creation time before any build step could run.
87+
deploy:
88+
needs: build
89+
if: github.event_name == 'push'
90+
environment:
91+
name: github-pages
92+
url: ${{ steps.deployment.outputs.page_url }}
93+
runs-on: ubuntu-latest
94+
steps:
6995
- name: Deploy to GitHub Pages
7096
id: deployment
7197
uses: actions/deploy-pages@v5

0 commit comments

Comments
 (0)