Skip to content

Progress point

Progress point #15

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- '!*'
pull_request:
jobs:
build:
name: Tests
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
timeout-minutes: 5
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 7.32.2
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'pnpm'
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Run Tests
id: test
run: pnpm test
- uses: actions/upload-artifact@v4
if: ${{ failure() && steps.test.conclusion == 'failure' }}
with:
name: Image Snapshot Diff Output - ${{ matrix.os }}
path: test/__image_snapshots__/__diff_output__/