1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-27 14:12:09 +00:00

Stop running lighthouse/webhint every commit

Go back to running them manually on my own. They're too slow and buggy
for CI.
This commit is contained in:
Rohan Kumar 2021-01-20 12:50:24 -08:00
parent c2404ce552
commit efa589508f
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -7,10 +7,6 @@ packages:
- git # for Hugo's gitInfo - git # for Hugo's gitInfo
- make - make
- jq - jq
- npm # for testing with lighthouse and webhint
- chromium # for testing with lighthouse and webhint
environment:
HINT_TELEMETRY: "off"
sources: sources:
- https://git.sr.ht/~seirdy/seirdy.one - https://git.sr.ht/~seirdy/seirdy.one
secrets: secrets:
@ -26,15 +22,10 @@ tasks:
mkdir -p ~/bin mkdir -p ~/bin
brotli -dc binaries.tar.br | tar x -oC ~/bin brotli -dc binaries.tar.br | tar x -oC ~/bin
cd seirdy.one cd seirdy.one
npm i -D --no-fund # no-fund reduces log verbosity
- build_deploy: | - build_deploy: |
cd seirdy.one cd seirdy.one
export PATH=~/bin:$PATH export PATH=~/bin:$PATH
# don't spend as much time compressing for staging.
make DOMAIN=staging.seirdy.one ZOPFLI_ITERATIONS=50 test-staging
tar czf ~/lighthouse-reports.tar.gz lighthouse-reports
make clean deploy make clean deploy
cp mentions.json ~/mentions.json cp mentions.json ~/mentions.json
artifacts: artifacts:
- lighthouse-reports.tar.gz
- mentions.json - mentions.json