Skip to content

Commit 7e4c917

Browse files
authored
make lhci pass again (#197)
1 parent a3303e6 commit 7e4c917

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
- name: Set up Node.js
1818
uses: actions/setup-node@v3
1919
with:
20-
node-version-file: '.nvmrc'
20+
node-version: lts/*
21+
cache: 'npm'
2122

2223
- name: build
2324
run: npm i && npm run build
@@ -33,5 +34,4 @@ jobs:
3334
npx lhci autorun \
3435
--collect.url=http://localhost:8696/devtools-protocol/ \
3536
--collect.url=http://localhost:8696/devtools-protocol/tot/Page/ \
36-
--upload.token=${{ secrets.LHCI_SERVER_TOKEN }} \
37-
--upload.serverBaseUrl=https://lhci-canary.herokuapp.com/
37+
--upload.target=temporary-public-storage

.lighthouserc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ module.exports = {
1919
"tap-targets": "warn",
2020
"dom-size": "warn",
2121
"csp-xss": "warn",
22+
"label": "warn",
2223
}
2324
}
2425
},

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)