1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 10:46:38 -04:00

running out of percy snapshots...

This commit is contained in:
2020-04-29 11:57:53 -04:00
parent f7dbe5ccc7
commit 12ff2c7871
2 changed files with 13 additions and 11 deletions

View File

@ -55,8 +55,6 @@ jobs:
build:
runs-on: ubuntu-latest
if: (!contains(github.actor, '[bot]')) || (!contains(github.event.head_commit.message, '[skip ci]'))
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
@ -89,5 +87,5 @@ jobs:
continue-on-error: true
- name: Percy snapshots
uses: percy/snapshot-action@v0.1.0
with:
flags: --config ./.percy.yml
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}

View File

@ -1,23 +1,27 @@
version: 1
snapshot:
widths: [375, 1280] # px
widths: [450, 1050] # px
enable-javascript: true
percy-css: |
video {
display: none;
}
div.embed {
display: none;
}
div.highlight {
video {
display: none;
}
iframe#sa-graph {
display: none; /* analytics graph will change every time, obviously */
}
code, div.highlight {
border: 0 !important; /* no clue why this bugs out... */
}
.wave, .beat {
animation: none !important;
animation: none;
}
static-snapshots:
path: public/
snapshot-files: '**/index.html'
ignore-files: '**/license/*.html,**/privacy/*.html,**/leo/*.html,**/birthday/*.html,**/hillary/*.html'
agent:
asset-discovery:
network-idle-timeout: 10000 # ms
network-idle-timeout: 2000 # ms