ep_font_size 0.4.106 → 0.4.108

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.
@@ -2,6 +2,12 @@ name: Dependabot Automerge
2
2
  permissions:
3
3
  contents: write
4
4
  pull-requests: write
5
+ # `actions: write` lets the post-merge step kick off Node.js Package on
6
+ # the default branch via `gh workflow run`. Without this, automerge'd
7
+ # PRs land on main but the on-push release job never fires (GitHub
8
+ # Actions intentionally suppresses on:push triggers when the push is
9
+ # authenticated with GITHUB_TOKEN).
10
+ actions: write
5
11
  on:
6
12
  workflow_run:
7
13
  workflows:
@@ -21,6 +27,7 @@ jobs:
21
27
  uses: actions/checkout@v6
22
28
 
23
29
  - name: Automerge
30
+ id: automerge
24
31
  uses: "pascalgn/automerge-action@v0.16.4"
25
32
  env:
26
33
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -28,3 +35,11 @@ jobs:
28
35
  MERGE_LABELS: ""
29
36
  MERGE_RETRY_SLEEP: "100000"
30
37
 
38
+ - name: Trigger release on default branch
39
+ # `pascalgn/automerge-action` exits 0 whether or not it merged. Skip
40
+ # the dispatch when nothing was actually merged so we don't kick a
41
+ # phantom release run on every Dependabot Automerge invocation.
42
+ if: steps.automerge.outputs.mergeResult == 'merged'
43
+ env:
44
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45
+ run: gh workflow run test-and-release.yml --ref ${{ github.event.repository.default_branch }}
@@ -22,11 +22,15 @@ jobs:
22
22
  version: 1.0
23
23
  -
24
24
  name: Install etherpad core
25
- uses: actions/checkout@v4
25
+ uses: actions/checkout@v6
26
26
  with:
27
27
  repository: ether/etherpad-lite
28
28
  path: etherpad-lite
29
- - uses: pnpm/action-setup@v3
29
+ - uses: actions/setup-node@v4
30
+ name: Install Node.js
31
+ with:
32
+ node-version: 22
33
+ - uses: pnpm/action-setup@v6
30
34
  name: Install pnpm
31
35
  with:
32
36
  version: 10
@@ -35,7 +39,7 @@ jobs:
35
39
  shell: bash
36
40
  run: |
37
41
  echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
38
- - uses: actions/cache@v4
42
+ - uses: actions/cache@v5
39
43
  name: Setup pnpm cache
40
44
  with:
41
45
  path: ${{ env.STORE_PATH }}
@@ -44,7 +48,7 @@ jobs:
44
48
  ${{ runner.os }}-pnpm-store-
45
49
  -
46
50
  name: Checkout plugin repository
47
- uses: actions/checkout@v4
51
+ uses: actions/checkout@v6
48
52
  with:
49
53
  path: plugin
50
54
  - name: Remove tests
@@ -16,6 +16,10 @@ jobs:
16
16
  with:
17
17
  repository: ether/etherpad-lite
18
18
  path: etherpad-lite
19
+ - uses: actions/setup-node@v4
20
+ name: Install Node.js
21
+ with:
22
+ node-version: 22
19
23
  - uses: pnpm/action-setup@v6
20
24
  name: Install pnpm
21
25
  with:
@@ -1,5 +1,11 @@
1
1
  name: Node.js Package
2
- on: [push]
2
+ on:
3
+ push:
4
+ # Invoked by automerge.yml after a Dependabot PR is merged. GitHub
5
+ # Actions doesn't fire on:push when the push is authored by GITHUB_TOKEN
6
+ # (the automerge action's only available identity), so without this
7
+ # dispatch trigger the release job never runs after auto-merges.
8
+ workflow_dispatch:
3
9
 
4
10
  # id-token: write must be granted here so the reusable npmpublish workflow
5
11
  # can request an OIDC token for npm trusted publishing.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "description": "Apply sizes to fonts",
3
3
  "name": "ep_font_size",
4
- "version": "0.4.106",
4
+ "version": "0.4.108",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
7
7
  "name": "John McLear",