File tree Expand file tree Collapse file tree 7 files changed +586
-637
lines changed Expand file tree Collapse file tree 7 files changed +586
-637
lines changed Original file line number Diff line number Diff line change 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-
41name : Publish Package
52
63on :
74 release :
8- types : [created]
5+ types : [published]
6+
7+ permissions :
8+ id-token : write
9+ contents : read
910
1011jobs :
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
Original file line number Diff line number Diff line change 11name : Test
22
3+ permissions :
4+ contents : read
5+
36on :
47 pull_request :
58 branches :
69 - main
10+ - v1
711
812jobs :
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
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ All notable changes to the "@qavajs/steps-lighthouse" will be documented in this
44
55Check [ 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
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export default {
1717 format: [
1818 [' @qavajs/html-formatter' , ' report.html' ]
1919 ]
20- }
20+ }
2121```
2222
2323## Usage
You can’t perform that action at this time.
0 commit comments