mirror of
https://github.com/Haiti-Distributed-Healthcare-System/hdhs.git
synced 2026-10-26 17:35:23 +00:00
TEST: trying to get github status checks
This commit is contained in:
1 parent
162c1eaabc
commit
527b0708db
2 files changed
+14
-11
No files matched your search
@@ -1,4 +1,4 @@
|
||||
name: Lighthouse
|
||||
name: Build project and Run Lighthouse CI
|
||||
on: [push]
|
||||
jobs:
|
||||
lhci:
|
||||
@@ -10,11 +10,11 @@ jobs:
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 10.x
|
||||
- name: npm install and build
|
||||
- name: npm install, build
|
||||
run: |
|
||||
pushd pwa && npm install
|
||||
npm run build && popd
|
||||
npm install
|
||||
npm run build
|
||||
- name: run Lighthouse CI
|
||||
run: |
|
||||
npm install -g @lhci/cli@0.3.x
|
||||
lhci autorun --upload.target=temporary-public-storage
|
||||
lhci autorun || echo "LHCI failed!"
|
||||
+9
-6
@@ -1,8 +1,11 @@
|
||||
{
|
||||
"ci": {
|
||||
"collect": {
|
||||
"staticDistDir": "./pwa/build",
|
||||
"numberOfRuns": 3
|
||||
}
|
||||
"ci": {
|
||||
"collect": {
|
||||
"staticDistDir": "./pwa/build",
|
||||
"numberOfRuns": 3
|
||||
},
|
||||
"upload": {
|
||||
"target": "temporary-public-storage"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user