Skip to content
Open
Show file tree
Hide file tree
Changes from 7 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
36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Release to npm
on:
workflow_dispatch: {}

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22.19'
- run: yarn --frozen-lockfile
- run: yarn test

publish:
Comment thread Fixed
needs: test
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22.19'
registry-url: https://registry.npmjs.org/
- run: yarn --frozen-lockfile
# Build report bundles needed for publishing.
- run: yarn build-report
- name: Publish to npm
run: |
npm install -g npm@latest
npm publish --provenance --access public --registry https://registry.npmjs.org/
env:
CI: true
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,10 @@
"puppeteer/**/devtools-protocol": "0.0.1608973",
"puppeteer-core/**/devtools-protocol": "0.0.1608973"
},
"repository": "GoogleChrome/lighthouse",
"repository": {
"type": "git",
"url": "https://github.com/GoogleChrome/lighthouse"
},
"keywords": [
"google",
"chrome",
Expand Down
Loading