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:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -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 }}
|
||||
|
18
.percy.yml
18
.percy.yml
@ -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
|
||||
|
Reference in New Issue
Block a user