Setting up Backstop #3
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: VRT with Backstop JS | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
branches: | |
- main | |
jobs: | |
install_node: | |
name: Run BackstopJS | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Node 20 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 20.9 | |
- name: Install Backstop | |
run: npm install backstopjs | |
- name: Run Backstop | |
run: backstop test | |