ep_rss 11.0.34 → 11.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11,8 +11,23 @@ jobs:
|
|
|
11
11
|
if: |
|
|
12
12
|
(github.event_name != 'pull_request')
|
|
13
13
|
|| (github.event.pull_request.head.repo.id != github.event.pull_request.base.repo.id)
|
|
14
|
-
name: with Plugins
|
|
14
|
+
name: with Plugins (Node ${{ matrix.node }} / core ${{ matrix.core_ref || 'develop' }})
|
|
15
15
|
runs-on: ubuntu-latest
|
|
16
|
+
strategy:
|
|
17
|
+
fail-fast: false
|
|
18
|
+
# Plugin floor is engines.node >=22 but current Etherpad core
|
|
19
|
+
# requires >=24 (engineStrict). Each cell pairs a Node version
|
|
20
|
+
# with a core ref that actually allows it: Node 22 against the
|
|
21
|
+
# last tag whose core floor was 22 (v2.7.3); Node 24 / 26 against
|
|
22
|
+
# current develop.
|
|
23
|
+
matrix:
|
|
24
|
+
include:
|
|
25
|
+
- node: '22'
|
|
26
|
+
core_ref: 'v2.7.3'
|
|
27
|
+
- node: '24'
|
|
28
|
+
core_ref: ''
|
|
29
|
+
- node: '26'
|
|
30
|
+
core_ref: ''
|
|
16
31
|
steps:
|
|
17
32
|
-
|
|
18
33
|
name: Install libreoffice
|
|
@@ -25,12 +40,13 @@ jobs:
|
|
|
25
40
|
uses: actions/checkout@v7
|
|
26
41
|
with:
|
|
27
42
|
repository: ether/etherpad-lite
|
|
43
|
+
ref: ${{ matrix.core_ref }}
|
|
28
44
|
path: etherpad-lite
|
|
29
45
|
- uses: actions/setup-node@v7
|
|
30
46
|
name: Install Node.js
|
|
31
47
|
with:
|
|
32
|
-
node-version:
|
|
33
|
-
- uses: pnpm/action-setup@v6.1.
|
|
48
|
+
node-version: ${{ matrix.node }}
|
|
49
|
+
- uses: pnpm/action-setup@v6.1.1
|
|
34
50
|
name: Install pnpm
|
|
35
51
|
with:
|
|
36
52
|
package_json_file: ./etherpad-lite/package.json
|
|
@@ -7,7 +7,26 @@ on:
|
|
|
7
7
|
|
|
8
8
|
jobs:
|
|
9
9
|
test-frontend:
|
|
10
|
-
runs-on: ubuntu-latest
|
|
10
|
+
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
|
|
11
|
+
name: Playwright (Node ${{ matrix.node }} / core ${{ matrix.core_ref || 'develop' }})
|
|
12
|
+
strategy:
|
|
13
|
+
fail-fast: false
|
|
14
|
+
# Plugin floor is engines.node >=22 but current Etherpad core
|
|
15
|
+
# requires >=24 (engineStrict). Each cell pairs a Node version
|
|
16
|
+
# with a core ref that actually allows it: Node 22 against the
|
|
17
|
+
# last tag whose core floor was 22 (v2.7.3); Node 24 / 26 against
|
|
18
|
+
# current develop.
|
|
19
|
+
matrix:
|
|
20
|
+
include:
|
|
21
|
+
- node: '22'
|
|
22
|
+
core_ref: 'v2.7.3'
|
|
23
|
+
# ubuntu-latest is now 26.04, and the Playwright pinned by core
|
|
24
|
+
# v2.7.3 refuses to install chromium there.
|
|
25
|
+
os: ubuntu-24.04
|
|
26
|
+
- node: '24'
|
|
27
|
+
core_ref: ''
|
|
28
|
+
- node: '26'
|
|
29
|
+
core_ref: ''
|
|
11
30
|
|
|
12
31
|
steps:
|
|
13
32
|
-
|
|
@@ -15,12 +34,13 @@ jobs:
|
|
|
15
34
|
uses: actions/checkout@v7
|
|
16
35
|
with:
|
|
17
36
|
repository: ether/etherpad-lite
|
|
37
|
+
ref: ${{ matrix.core_ref }}
|
|
18
38
|
path: etherpad-lite
|
|
19
39
|
- uses: actions/setup-node@v7
|
|
20
40
|
name: Install Node.js
|
|
21
41
|
with:
|
|
22
|
-
node-version:
|
|
23
|
-
- uses: pnpm/action-setup@v6.1.
|
|
42
|
+
node-version: ${{ matrix.node }}
|
|
43
|
+
- uses: pnpm/action-setup@v6.1.1
|
|
24
44
|
name: Install pnpm
|
|
25
45
|
with:
|
|
26
46
|
package_json_file: ./etherpad-lite/package.json
|
|
@@ -52,6 +72,17 @@ jobs:
|
|
|
52
72
|
- name: Create settings.json
|
|
53
73
|
working-directory: ./etherpad-lite
|
|
54
74
|
run: cp ./src/tests/settings.json settings.json
|
|
75
|
+
# Etherpad v2.7.x added a "severely outdated" version-badge that polls
|
|
76
|
+
# GitHub for the latest release and renders an absolutely-positioned
|
|
77
|
+
# banner at top-right when the running core is a full major behind.
|
|
78
|
+
# On the core v2.7.3 matrix cell that banner intercepts pointer
|
|
79
|
+
# events (e.g. #chaticon) and Playwright clicks time out. Set
|
|
80
|
+
# updates.tier=off so the badge stays hidden. Harmless no-op on cores
|
|
81
|
+
# without the updater or with the tier already off.
|
|
82
|
+
- name: Disable updater poll in test settings
|
|
83
|
+
working-directory: ./etherpad-lite
|
|
84
|
+
run: |
|
|
85
|
+
node -e 'const fs=require("fs");const s=JSON.parse(fs.readFileSync("settings.json","utf8"));s.updates={...(s.updates||{}),tier:"off"};fs.writeFileSync("settings.json",JSON.stringify(s,null,2));'
|
|
55
86
|
- name: Run the frontend tests
|
|
56
87
|
working-directory: ./etherpad-lite
|
|
57
88
|
shell: bash
|
|
@@ -69,4 +100,8 @@ jobs:
|
|
|
69
100
|
done
|
|
70
101
|
cd src
|
|
71
102
|
pnpm exec playwright install chromium --with-deps
|
|
72
|
-
|
|
103
|
+
# On the core v2.7.3 cell run only this plugin's own specs. Core
|
|
104
|
+
# v2.7.3's specs predate fixes that let them coexist with plugins
|
|
105
|
+
# that change the pad layout (enter.spec, a11y_dialogs.spec), and
|
|
106
|
+
# the develop cells already run the full core suite with the plugin.
|
|
107
|
+
pnpm run test-ui --project=chromium ${{ matrix.core_ref && 'plugin_packages/ --pass-with-no-tests' || '' }}
|
|
@@ -20,12 +20,12 @@ jobs:
|
|
|
20
20
|
steps:
|
|
21
21
|
- uses: actions/setup-node@v7
|
|
22
22
|
with:
|
|
23
|
-
# OIDC trusted publishing needs npm >= 11.5.1. Node
|
|
24
|
-
# line
|
|
25
|
-
#
|
|
26
|
-
#
|
|
27
|
-
#
|
|
28
|
-
node-version:
|
|
23
|
+
# OIDC trusted publishing needs npm >= 11.5.1. Node 26 is the
|
|
24
|
+
# Active LTS line and bundles npm 11.x, so the pinned upgrade below
|
|
25
|
+
# stays on the same npm major. Avoid odd non-LTS lines (Node 25):
|
|
26
|
+
# npm 12 requires ^22.22.2 || ^24.15.0 || >=26.0.0 and the upgrade
|
|
27
|
+
# step dies there with EBADENGINE.
|
|
28
|
+
node-version: 26
|
|
29
29
|
registry-url: https://registry.npmjs.org/
|
|
30
30
|
# Pinned to a range rather than @latest: the next npm major dropping
|
|
31
31
|
# this Node line would silently break publishing fleet-wide again.
|
|
@@ -35,7 +35,7 @@ jobs:
|
|
|
35
35
|
uses: actions/checkout@v7
|
|
36
36
|
with:
|
|
37
37
|
repository: ether/etherpad-lite
|
|
38
|
-
- uses: pnpm/action-setup@v6.1.
|
|
38
|
+
- uses: pnpm/action-setup@v6.1.1
|
|
39
39
|
name: Install pnpm
|
|
40
40
|
with:
|
|
41
41
|
run_install: false
|