Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"baseBranch": "v11",
"updateInternalDependencies": "patch",
"ignore": []
}
6 changes: 6 additions & 0 deletions .changeset/declare-webdriverio-peer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@wdio/visual-service": patch
"@wdio/ocr-service": patch
---

Declare `webdriverio` as a peer dependency. Both packages import it at runtime, but did not list it.
11 changes: 11 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"mode": "pre",
"tag": "next",
"initialVersions": {
"@wdio/image-comparison-core": "2.1.0",
"@wdio/ocr-service": "2.2.10",
"@wdio/visual-reporter": "0.4.15",
"@wdio/visual-service": "10.1.0"
},
"changesets": []
}
4 changes: 2 additions & 2 deletions .github/workflows/deploy-visual-reporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: 📦 Setup pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0

- name: 🟢 Setup Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
node-version-file: ".nvmrc"
cache: pnpm
- name: 🧩 Install Dependencies
run: pnpm pnpm.install.workaround
run: pnpm install --frozen-lockfile

- name: 🏗️ Build
working-directory: packages/visual-reporter
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
git config --global user.name "WebdriverIO Release Bot"

- name: 🔧 Setup pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0

- name: 🔧 Setup Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
Expand All @@ -60,11 +60,19 @@ jobs:
registry-url: "https://registry.npmjs.org"

- name: 🧩 Install Dependencies
run: pnpm pnpm.install.workaround
run: pnpm install --frozen-lockfile

# ========================================
# Alpha Release Steps
# ========================================
- name: 🚫 Block Alpha in Changesets Pre Mode
if: github.event.inputs.release_type == 'alpha'
run: |
if [[ -f .changeset/pre.json ]]; then
echo "Changesets pre mode is active: use the production release type, it publishes prerelease versions."
exit 1
fi

- name: 🔄 Validate Package Directory
if: github.event.inputs.release_type == 'alpha'
run: |
Expand Down
33 changes: 10 additions & 23 deletions .github/workflows/scheduled-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ on:
permissions:
contents: read

env:
PNPM_VERSION: 9.15.9+sha256.cf86a7ad764406395d4286a6d09d730711720acc6d93e9dce9ac7ac4dc4a28a7

jobs:
schedule-gate:
name: 🗓️ Schedule Gate
Expand Down Expand Up @@ -60,9 +57,7 @@ jobs:
ref: ${{ inputs.branch || vars.SCHEDULED_TESTS_BRANCH || 'main' }}

- name: 📦 Setup pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
with:
version: ${{ env.PNPM_VERSION }}
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0

- name: 🟢 Setup Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
Expand All @@ -71,7 +66,7 @@ jobs:
cache: pnpm

- name: 🧩 Install Dependencies
run: pnpm pnpm.install.workaround
run: pnpm install --frozen-lockfile

- name: 🏗️ Build
working-directory: ./
Expand Down Expand Up @@ -118,9 +113,7 @@ jobs:
ref: ${{ inputs.branch || vars.SCHEDULED_TESTS_BRANCH || 'main' }}

- name: 📦 Setup pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
with:
version: ${{ env.PNPM_VERSION }}
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0

- name: 🟢 Setup Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
Expand All @@ -129,7 +122,7 @@ jobs:
cache: pnpm

- name: 🧩 Install Dependencies
run: pnpm pnpm.install.workaround
run: pnpm install --frozen-lockfile

- name: 🏗️ Build
working-directory: ./
Expand Down Expand Up @@ -176,9 +169,7 @@ jobs:
ref: ${{ inputs.branch || vars.SCHEDULED_TESTS_BRANCH || 'main' }}

- name: 📦 Setup pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
with:
version: ${{ env.PNPM_VERSION }}
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0

- name: 🟢 Setup Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
Expand All @@ -187,7 +178,7 @@ jobs:
cache: pnpm

- name: 🧩 Install Dependencies
run: pnpm pnpm.install.workaround
run: pnpm install --frozen-lockfile

- name: 🏗️ Build
working-directory: ./
Expand Down Expand Up @@ -234,9 +225,7 @@ jobs:
ref: ${{ inputs.branch || vars.SCHEDULED_TESTS_BRANCH || 'main' }}

- name: 📦 Setup pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
with:
version: ${{ env.PNPM_VERSION }}
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0

- name: 🟢 Setup Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
Expand All @@ -245,7 +234,7 @@ jobs:
cache: pnpm

- name: 🧩 Install Dependencies
run: pnpm pnpm.install.workaround
run: pnpm install --frozen-lockfile

- name: 🏗️ Build
working-directory: ./
Expand Down Expand Up @@ -292,9 +281,7 @@ jobs:
ref: ${{ inputs.branch || vars.SCHEDULED_TESTS_BRANCH || 'main' }}

- name: 📦 Setup pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
with:
version: ${{ env.PNPM_VERSION }}
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0

- name: 🟢 Setup Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
Expand All @@ -303,7 +290,7 @@ jobs:
cache: pnpm

- name: 🧩 Install Dependencies
run: pnpm pnpm.install.workaround
run: pnpm install --frozen-lockfile

- name: 🏗️ Build
working-directory: ./
Expand Down
46 changes: 15 additions & 31 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- v11
pull_request:
paths-ignore:
- "**/*.md"
Expand All @@ -13,9 +14,6 @@ permissions:
contents: read
pull-requests: read

env:
PNPM_VERSION: 9.15.9+sha256.cf86a7ad764406395d4286a6d09d730711720acc6d93e9dce9ac7ac4dc4a28a7

jobs:
dependency-check:
name: 🔎 📦 Dependency Check
Expand Down Expand Up @@ -46,9 +44,7 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: 📦 Setup pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
with:
version: ${{ env.PNPM_VERSION }}
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0

- name: 🟢 Setup Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
Expand All @@ -57,7 +53,7 @@ jobs:
cache: pnpm

- name: 🧩 Install Dependencies
run: pnpm pnpm.install.workaround
run: pnpm install --frozen-lockfile

- name: 🏗️ Build
working-directory: ./
Expand All @@ -76,9 +72,7 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: 📦 Setup pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
with:
version: ${{ env.PNPM_VERSION }}
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0

- name: 🟢 Setup Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
Expand All @@ -87,7 +81,7 @@ jobs:
cache: pnpm

- name: 🧩 Install Dependencies
run: pnpm pnpm.install.workaround
run: pnpm install --frozen-lockfile

- name: 🏗️ Build
working-directory: ./
Expand Down Expand Up @@ -129,9 +123,7 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: 📦 Setup pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
with:
version: ${{ env.PNPM_VERSION }}
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0

- name: 🟢 Setup Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
Expand All @@ -140,7 +132,7 @@ jobs:
cache: pnpm

- name: 🧩 Install Dependencies
run: pnpm pnpm.install.workaround
run: pnpm install --frozen-lockfile

- name: 🏗️ Build
working-directory: ./
Expand Down Expand Up @@ -182,9 +174,7 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: 📦 Setup pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
with:
version: ${{ env.PNPM_VERSION }}
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0

- name: 🟢 Setup Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
Expand All @@ -193,7 +183,7 @@ jobs:
cache: pnpm

- name: 🧩 Install Dependencies
run: pnpm pnpm.install.workaround
run: pnpm install --frozen-lockfile

- name: 🏗️ Build
working-directory: ./
Expand Down Expand Up @@ -235,9 +225,7 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: 📦 Setup pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
with:
version: ${{ env.PNPM_VERSION }}
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0

- name: 🟢 Setup Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
Expand All @@ -246,7 +234,7 @@ jobs:
cache: pnpm

- name: 🧩 Install Dependencies
run: pnpm pnpm.install.workaround
run: pnpm install --frozen-lockfile

- name: 🏗️ Build
working-directory: ./
Expand Down Expand Up @@ -288,9 +276,7 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: 📦 Setup pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
with:
version: ${{ env.PNPM_VERSION }}
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0

- name: 🟢 Setup Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
Expand All @@ -299,7 +285,7 @@ jobs:
cache: pnpm

- name: 🧩 Install Dependencies
run: pnpm pnpm.install.workaround
run: pnpm install --frozen-lockfile

- name: 🏗️ Build
working-directory: ./
Expand Down Expand Up @@ -341,9 +327,7 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: 📦 Setup pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
with:
version: ${{ env.PNPM_VERSION }}
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0

- name: 🟢 Setup Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
Expand All @@ -352,7 +336,7 @@ jobs:
cache: pnpm

- name: 🧩 Install Dependencies
run: pnpm pnpm.install.workaround
run: pnpm install --frozen-lockfile

- name: 🏗️ Build
working-directory: ./
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ To create a PR for this project and start contributing follow this step-by-step
```sh
$ cd visual-testing
$ corepack enable
$ pnpm pnpm.install.workaround
$ pnpm install
```

- Run the watch mode that will automatically transpile the code
Expand Down
Loading
Loading