Skip to content

Backstop Integration Tests #1

Backstop Integration Tests

Backstop Integration Tests #1

name: Backstop Integration Tests
on:
pull_request:
branches: [master, develop]
workflow_dispatch:
workflow_call:
permissions:
contents: write
pull-requests: write
env:
NODE_VERSION: 20
jobs:
integration:
name: 🧩 Integration
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: ⬢ Setup Node & Cache
uses: actions/setup-node@v3
with:
cache: "npm"
cache-dependency-path: package-lock.json
- name: ↧ Install
run: npm ci
- name: 🧪 Test
run: |
npm run integration-test