Skip to content

Improve caption readability and error logging #192

Improve caption readability and error logging

Improve caption readability and error logging #192

Workflow file for this run

name: Run Checks and Tests for the CLI
on:
pull_request:
branches: [main]
types: [opened, synchronize, reopened]
paths:
- "gallery/**"
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
cache-dependency-path: "yarn.lock"
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
run: yarn install --immutable
- name: Run checks (common)
working-directory: ./common
run: yarn check && yarn build
- name: Run checks (gallery)
working-directory: ./gallery
run: yarn check
- name: Run tests
working-directory: ./gallery
run: yarn test