Skip to content

Commit 03a1a80

Browse files
authored
try to fix ci (#209)
1 parent 193c4f4 commit 03a1a80

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,33 @@ on:
55
branches:
66
- master
77
jobs:
8-
lighthouse_ci:
8+
build_test:
99

1010
runs-on: ubuntu-latest
1111

1212
steps:
1313

1414
- name: git clone
15-
uses: actions/checkout@v1
15+
uses: actions/checkout@v3
1616

1717
- name: Set up Node.js
1818
uses: actions/setup-node@v3
1919
with:
20-
node-version: lts/*
20+
node-version: latest
2121
cache: 'npm'
2222

23-
- name: build
24-
run: npm i && npm run build
25-
23+
- run: npm ci
24+
- run: npm run build
25+
2626
- name: primitive test
2727
run: npm run test
2828

2929
- name: install lhci
3030
run: npm install @lhci/cli@latest
3131

32-
- name: run lhci
33-
run: |
34-
npx lhci autorun \
35-
--collect.url=http://localhost:8696/devtools-protocol/ \
36-
--collect.url=http://localhost:8696/devtools-protocol/tot/Page/ \
37-
--upload.target=temporary-public-storage
32+
# - name: run lhci
33+
# run: |
34+
# npx lhci autorun \
35+
# --collect.url=http://localhost:8696/devtools-protocol/ \
36+
# --collect.url=http://localhost:8696/devtools-protocol/tot/Page/ \
37+
# --upload.target=temporary-public-storage

0 commit comments

Comments
 (0)