chore: bump send and @vaadin/vaadin-component-dev-dependencies #104
Workflow file for this run
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: Visual Tests | |
# all pull requests | |
on: pull_request | |
jobs: | |
visual-tests: | |
name: Polymer 2 on SauceLabs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Node 12.x | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 12.x | |
- name: Check out the source code | |
uses: actions/checkout@v2 | |
- name: Install latest npm | |
# magi-cli 1.0 requires npm 7 or higher | |
run: "npm install -g npm@8" | |
- name: Install global npm dependencies | |
# bower is needed to run 'bower install' | |
# gemini is needed to run the visual tests step | |
run: "npm install --quiet --no-progress --global bower gemini@^4.0.0 gemini-sauce gemini-polyserve" | |
- name: Install project npm dependencies | |
run: "npm ci" | |
- name: Install project Bower dependencies | |
run: "bower install --quiet" | |
- name: Run visual tests on SauceLabs | |
run: "gemini test --reporter html --reporter flat test/visual" | |
env: | |
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} | |
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} | |
- name: Publish the Visual Tests failures report as an Artifact for this Workflow run | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Visual tests failures report | |
path: gemini-report/ |