Skip to content

Commit

Permalink
Merge pull request #2 from yinm/upload
Browse files Browse the repository at this point in the history
CI and Upload
  • Loading branch information
yinm committed Dec 5, 2019
2 parents 25ba4e8 + 199e95e commit 1fd985a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,11 @@
version: 2.1
jobs:
build:
docker:
- image: circleci/node:12.13-browsers
working_directory: ~/study-lighthouse-ci
steps:
- checkout
- run: npm i
- run: npm run collect
- run: npm run upload
3 changes: 2 additions & 1 deletion package.json
@@ -1,6 +1,7 @@
{
"scripts": {
"collect": "lhci collect --staticDistDir=./public"
"collect": "lhci collect --staticDistDir=./public",
"upload": "lhci upload --target=temporary-public-storage"
},
"devDependencies": {
"@lhci/cli": "^0.3.6"
Expand Down

0 comments on commit 1fd985a

Please sign in to comment.