Skip to content

Commit 422306d

Browse files
authored
Merge branch 'main' into jira-check
2 parents c6a8a74 + 80e0ff9 commit 422306d

29 files changed

Lines changed: 1151 additions & 570 deletions

File tree

.github/workflows/pr-name-linter.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ jobs:
2323
node-version: 20.x
2424

2525
- name: Install Dependencies
26-
run: npm install -g @commitlint/config-conventional@19 @commitlint/cli@19
26+
run: npm install -g @commitlint/config-conventional@19.8.1 @commitlint/cli@19.8.1
2727

2828
- name: Run PR name linter
29-
run: echo "${{ github.event.pull_request.title }}" | npx commitlint
29+
run: echo "$TITLE" | npx commitlint
30+
env:
31+
TITLE: ${{ github.event.pull_request.title }}

.github/workflows/test-actions.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ jobs:
3838
enable-svg-upload: true
3939
experiments: |-
4040
pages_panel:true
41-
editor_v2:false
4241
templates: |-
4342
elementor-templates
4443

actions/run-lighthouse-tests/.env.example

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
ACTIONS_STEP_DEBUG=true
77

88
# GitHub Actions inputs should follow `INPUT_<name>` format (case-insensitive).
9-
INPUT_urls="
9+
INPUT_URLS="
1010
rquth:http://localhost:8889/react-query-under-the-hood/
1111
"
12-
INPUT_categories="
12+
INPUT_CATEGORIES="
1313
performance
1414
"
15-
INPUT_number-of-runs=3
16-
INPUT_skip-lhci-install="false"
15+
INPUT_NUMBER-OF-RUNS=3
16+
INPUT_SKIP-LHCI-INSTALL="false"
1717

1818
# GitHub Actions default environment variables. These are set for every run of a
1919
# workflow and can be used in your actions. Setting the value here will override
Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# Run Lighthouse tests
1+
# Run Lighthouse Tests Action
22

3-
### TODO
4-
5-
- [ ] Need to define baseline for all pages
6-
- [ ] Need to allow pages to define their own baseline and override the default
7-
- [ ] Need to define how to calculate the score
3+
> [!WARNING]
4+
> This action should be used only in the context of the elementor plugin.

actions/run-lighthouse-tests/dist/index.js

Lines changed: 37 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

actions/run-lighthouse-tests/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import {
99
getMapInput,
1010
getNumberInput,
1111
setOutput,
12-
} from '@elementor-editor-github-actions/utils';
12+
} from '@elementor/editor-github-actions-utils';
1313

14-
const LHCI_VERSION = '0.14.x';
14+
const LHCI_VERSION = '0.14.0';
1515
const OUTPUT_DIR = path.resolve(process.cwd(), './lhci');
1616

1717
const AVAILABLE_CATEGORIES = [
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@elementor-editor-github-actions/run-lighthouse-tests",
2+
"name": "@elementor/run-lighthouse-tests",
33
"author": "Elementor Team",
44
"license": "GPL-3.0-or-later",
55
"private": true,
@@ -8,14 +8,14 @@
88
"dev": "npm run build -- --watch"
99
},
1010
"dependencies": {
11-
"@elementor-editor-github-actions/utils": "*",
11+
"@elementor/editor-github-actions-utils": "1.0.0",
1212
"@actions/core": "^1.11.1",
1313
"@actions/exec": "^1.1.1",
1414
"fs-extra": "^11.3.0",
15-
"zod": "^3.24.2"
15+
"zod": "^3.25.56"
1616
},
1717
"devDependencies": {
18-
"tsup": "^8.4.0",
18+
"tsup": "^8.5.0",
1919
"@types/fs-extra": "^11.0.4"
2020
}
2121
}

actions/setup-elementor-env/.env.example

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@
66
ACTIONS_STEP_DEBUG=true
77

88
# GitHub Actions inputs should follow `INPUT_<name>` format (case-insensitive).
9-
INPUT_env=development
10-
INPUT_experiments="
9+
INPUT_ENV=development
10+
INPUT_ENABLE-SVG-UPLOAD=false
11+
INPUT_EXPERIMENTS="
1112
pages_panel:true
1213
e_nested_atomic_repeaters:false
1314
"
14-
INPUT_templates="
15+
INPUT_TEMPLATES="
1516
./elementor-templates
1617
"
1718

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# # Setup Elementor Environment Action
2+
3+
> [!WARNING]
4+
> This action should be used only in the context of the elementor plugin.

actions/setup-elementor-env/dist/index.js

Lines changed: 33 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)