Skip to content

Commit 786df51

Browse files
Merge pull request #6 from qavajs/update-lighthouse
updated libraries
2 parents 73c8beb + f9f0454 commit 786df51

File tree

7 files changed

+586
-637
lines changed

7 files changed

+586
-637
lines changed

.github/workflows/npm-publish.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
1-
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2-
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3-
41
name: Publish Package
52

63
on:
74
release:
8-
types: [created]
5+
types: [published]
6+
7+
permissions:
8+
id-token: write
9+
contents: read
910

1011
jobs:
1112
publish-npm:
1213
runs-on: ubuntu-latest
1314
steps:
14-
- uses: actions/checkout@v3
15-
- uses: actions/setup-node@v3
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-node@v4
1617
with:
17-
node-version: 22
18+
node-version: 24
1819
registry-url: https://registry.npmjs.org/
1920
- run: npm ci
2021
- run: npm run build
21-
- run: npm publish --access public
22-
env:
23-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
22+
- run: npm publish --access public

.github/workflows/pull-request.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
11
name: Test
22

3+
permissions:
4+
contents: read
5+
36
on:
47
pull_request:
58
branches:
69
- main
10+
- v1
711

812
jobs:
9-
build:
13+
test-web:
14+
strategy:
15+
matrix:
16+
version: [ 20, 22, 24 ]
1017
runs-on: ubuntu-latest
1118
steps:
12-
- uses: actions/checkout@v3
13-
- uses: actions/setup-node@v3
19+
- uses: actions/checkout@v4
20+
- uses: actions/setup-node@v4
1421
with:
15-
node-version: 22
22+
node-version: ${{ matrix.version }}
1623
- run: npm ci
1724
- run: npm run build
1825
- run: npx playwright install

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ 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+
## [2.0.2]
8+
- :rocket: updated libraries
9+
710
## [2.0.1]
811
- :rocket: updated libraries
912

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default {
1717
format: [
1818
['@qavajs/html-formatter', 'report.html']
1919
]
20-
}
20+
}
2121
```
2222

2323
## Usage

0 commit comments

Comments
 (0)