Skip to content
Merged
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 .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 22
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 22
- run: npm ci
- run: npm run build
- run: npx playwright install
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ All notable changes to the "@qavajs/steps-lighthouse" will be documented in this

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

## [0.2.0]
- :rocket: implemented compatibility with qavajs@2 and wdio@9

## [0.1.0]
- :rocket: initial implementation
20 changes: 9 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,16 @@ Library can work on top of playwright and webdriverio drivers
`npm install @qavajs/steps-lighthouse`

## Configuration
```javascript
module.exports = {
default: {
require: [
'node_modules/@qavajs/steps-wdio/index.js', //corresponding driver library should be imported first
'node_modules/@qavajs/steps-lighthouse/index.js'
],
format: [
['@qavajs/html-formatter', 'report.html']
],
```typescript
export default {
require: [
'node_modules/@qavajs/steps-wdio/index.js', //corresponding driver library should be imported first
'node_modules/@qavajs/steps-lighthouse/index.js'
],
format: [
['@qavajs/html-formatter', 'report.html']
]
}
}
```

## Usage
Expand Down
Loading