Skip to content

Commit f89815c

Browse files
committed
Fix CI
1 parent d9f62fe commit f89815c

File tree

7 files changed

+14
-9
lines changed

7 files changed

+14
-9
lines changed

.github/workflows/acceptance.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ on:
44
paths:
55
- "*.js"
66
- "*.json"
7-
- ".github/workflows/*.yml"
7+
- "*.yaml"
88
- "cypress/**"
99
- "packages/**"
10+
- ".github/workflows/acceptance.yml"
1011

1112
env:
1213
NODE_VERSION: 24.x
@@ -19,7 +20,7 @@ jobs:
1920
steps:
2021
- uses: actions/checkout@v4
2122

22-
- name: Use Node.js
23+
- name: Use Node.js ${{ env.NODE_VERSION }}
2324
uses: actions/setup-node@v4
2425
with:
2526
node-version: ${{ env.NODE_VERSION }}

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77

88
env:
9-
NODE_VERSION: 20.x
9+
NODE_VERSION: 24.x
1010
ADDON_NAME: volto-separator-block
1111

1212
jobs:

.github/workflows/code.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ on:
44
paths:
55
- "*.js"
66
- "*.json"
7-
- ".github/workflows/*.yml"
7+
- "*.yaml"
88
- "packages/**"
9+
- ".github/workflows/code.yml"
910

1011
env:
1112
NODE_VERSION: 24.x

.github/workflows/i18n.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ on:
44
paths:
55
- "*.js"
66
- "*.json"
7-
- ".github/workflows/*.yml"
7+
- "*.yaml"
88
- "packages/**"
9+
- ".github/workflows/i18n.yml"
910

1011
env:
1112
NODE_VERSION: 24.x

.github/workflows/storybook.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
paths:
55
- "*.js"
66
- "*.json"
7+
- "*.yaml"
78
- "packages/**"
89
- ".github/workflows/storybook.yml"
910

.github/workflows/unit.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ on:
44
paths:
55
- "*.js"
66
- "*.json"
7-
- ".github/workflows/*.yml"
7+
- "*.yaml"
88
- "packages/**"
9+
- ".github/workflows/unit.yml"
910

1011
env:
1112
NODE_VERSION: 24.x
@@ -43,4 +44,4 @@ jobs:
4344
run: make install
4445

4546
- name: Unit tests
46-
run: make test-ci
47+
run: make ci-test

.storybook/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ module.exports = {
107107
[],
108108
defaultRazzleOptions,
109109
);
110-
const AddonConfigurationRegistry = require('@plone/registry/src/addon-registry');
110+
const { AddonRegistry } = require('@plone/registry/addon-registry');
111111

112-
const registry = new AddonConfigurationRegistry(projectRootPath);
112+
const { registry } = AddonRegistry.init(projectRootPath);
113113

114114
config = lessPlugin({ registry }).modifyWebpackConfig({
115115
env: { target: 'web', dev: 'dev' },

0 commit comments

Comments
 (0)