Hide header when scrolling down and show header when scrolling up (#1… #2847
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Screenshot Test | |
on: [push, pull_request] | |
jobs: | |
oncokb-screenshot-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 12.16.1 | |
- name: Install node.js packages | |
run: yarn install | |
- name: Run the test | |
run: yarn run screenshot-test-in-docker | |
- name: Archive screenshots | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: visual-regression-screenshots | |
path: /home/runner/work/oncokb-public/oncokb-public/screenshot-test/__latest_snapshots__/ | |
- name: Archive visual regression failures | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: visual-regression-diff-report | |
path: /home/runner/work/oncokb-public/oncokb-public/screenshot-test/__diff_output__/ |