2019-12-08 11:29:28 +00:00
|
|
|
dist: bionic
|
2019-12-07 17:45:42 +00:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2019-12-08 11:29:28 +00:00
|
|
|
- 11
|
2019-12-10 16:56:23 +00:00
|
|
|
addons:
|
|
|
|
chrome: stable
|
2019-12-07 17:45:42 +00:00
|
|
|
cache:
|
2019-12-10 16:56:23 +00:00
|
|
|
directories:
|
|
|
|
- node_modules
|
|
|
|
before_install:
|
|
|
|
- npm install -g @lhci/cli@0.3.x
|
2019-12-07 17:45:42 +00:00
|
|
|
before_script:
|
2019-12-07 21:58:58 +00:00
|
|
|
- npm install -g
|
2019-12-07 17:45:42 +00:00
|
|
|
script:
|
2020-01-23 16:26:05 +00:00
|
|
|
- npm run build
|
2020-01-12 10:25:54 +00:00
|
|
|
- npm run prettier
|
2019-12-10 16:56:23 +00:00
|
|
|
after_success:
|
2020-02-06 17:23:38 +00:00
|
|
|
- lhci autorun --upload.target=temporary-public-storage
|
2019-12-08 11:29:28 +00:00
|
|
|
deploy:
|
2020-06-02 19:02:55 +00:00
|
|
|
provider: pages
|
2019-12-11 15:45:12 +00:00
|
|
|
token: $GITHUB_TOKEN
|
|
|
|
cleanup: false
|
|
|
|
edge: true # opt in to dpl v2
|
2019-12-08 11:29:28 +00:00
|
|
|
local_dir: dist
|
|
|
|
verbose: true
|
2020-06-02 18:57:58 +00:00
|
|
|
fqdn: dylanh.dev # forcing run
|