mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-03 16:46:39 -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:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: (!contains(github.actor, '[bot]')) || (!contains(github.event.head_commit.message, '[skip ci]'))
|
if: (!contains(github.actor, '[bot]')) || (!contains(github.event.head_commit.message, '[skip ci]'))
|
||||||
env:
|
|
||||||
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@ -89,5 +87,5 @@ jobs:
|
|||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
- name: Percy snapshots
|
- name: Percy snapshots
|
||||||
uses: percy/snapshot-action@v0.1.0
|
uses: percy/snapshot-action@v0.1.0
|
||||||
with:
|
env:
|
||||||
flags: --config ./.percy.yml
|
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
|
||||||
|
18
.percy.yml
18
.percy.yml
@ -1,23 +1,27 @@
|
|||||||
version: 1
|
version: 1
|
||||||
snapshot:
|
snapshot:
|
||||||
widths: [375, 1280] # px
|
widths: [450, 1050] # px
|
||||||
enable-javascript: true
|
enable-javascript: true
|
||||||
percy-css: |
|
percy-css: |
|
||||||
video {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
div.embed {
|
div.embed {
|
||||||
display: none;
|
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... */
|
border: 0 !important; /* no clue why this bugs out... */
|
||||||
}
|
}
|
||||||
.wave, .beat {
|
.wave, .beat {
|
||||||
animation: none !important;
|
animation: none;
|
||||||
}
|
}
|
||||||
static-snapshots:
|
static-snapshots:
|
||||||
path: public/
|
path: public/
|
||||||
snapshot-files: '**/index.html'
|
snapshot-files: '**/index.html'
|
||||||
|
ignore-files: '**/license/*.html,**/privacy/*.html,**/leo/*.html,**/birthday/*.html,**/hillary/*.html'
|
||||||
agent:
|
agent:
|
||||||
asset-discovery:
|
asset-discovery:
|
||||||
network-idle-timeout: 10000 # ms
|
network-idle-timeout: 2000 # ms
|
||||||
|
Reference in New Issue
Block a user