🛞 Backstop Reference Test #1
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: Backstop Reference Test | |
on: | |
workflow_dispatch: | |
workflow_call: | |
permissions: | |
actions: write | |
contents: write | |
pull-requests: write | |
env: | |
NODE_VERSION: 20 | |
jobs: | |
reference-test: | |
name: reference-test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
ref: ${{ github.event.pull_request.head.sha || github.ref }} | |
- name: Setup Node & Cache | |
uses: actions/setup-node@v4 | |
with: | |
cache: "npm" | |
cache-dependency-path: package-lock.json | |
- name: Install | |
run: npm ci | |
- name: "execute test" | |
run: npm run reference-test | |