Skip to content

Commit fdd48ea

Browse files
Merge pull request #2 from qavajs/qavajs2
implemented compatibility with qavajs@2 and wdio@9
2 parents 6a1ba78 + 4ecdf8d commit fdd48ea

File tree

10 files changed

+3369
-3533
lines changed

10 files changed

+3369
-3533
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v3
1515
- uses: actions/setup-node@v3
1616
with:
17-
node-version: 18
17+
node-version: 22
1818
registry-url: https://registry.npmjs.org/
1919
- run: npm ci
2020
- run: npm run build

.github/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-node@v3
1414
with:
15-
node-version: 18
15+
node-version: 22
1616
- run: npm ci
1717
- run: npm run build
1818
- run: npx playwright install

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@ All notable changes to the "@qavajs/steps-lighthouse" will be documented in this
44

55
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
66

7+
## [0.2.0]
8+
- :rocket: implemented compatibility with qavajs@2 and wdio@9
9+
710
## [0.1.0]
811
- :rocket: initial implementation

README.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,16 @@ Library can work on top of playwright and webdriverio drivers
66
`npm install @qavajs/steps-lighthouse`
77

88
## Configuration
9-
```javascript
10-
module.exports = {
11-
default: {
12-
require: [
13-
'node_modules/@qavajs/steps-wdio/index.js', //corresponding driver library should be imported first
14-
'node_modules/@qavajs/steps-lighthouse/index.js'
15-
],
16-
format: [
17-
['@qavajs/html-formatter', 'report.html']
18-
],
9+
```typescript
10+
export default {
11+
require: [
12+
'node_modules/@qavajs/steps-wdio/index.js', //corresponding driver library should be imported first
13+
'node_modules/@qavajs/steps-lighthouse/index.js'
14+
],
15+
format: [
16+
['@qavajs/html-formatter', 'report.html']
17+
]
1918
}
20-
}
2119
```
2220

2321
## Usage

0 commit comments

Comments
 (0)