Skip to content

NEXT Toast Integration Guide and Svelte Component #1587

NEXT Toast Integration Guide and Svelte Component

NEXT Toast Integration Guide and Svelte Component #1587

Workflow file for this run

name: CI
on:
pull_request:
# cancel in-progress runs on new commits to same PR (github.event.number)
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true
jobs:
check:
name: Run checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Build packages
run: pnpm -r package
- name: Run package checks
run: pnpm check
lint:
name: Run linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Run eslint
run: pnpm lint
format:
name: Run formatting check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Run prettier
run: pnpm format:check
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Install playwright browsers
run: pnpm -F @skeletonlabs/skeleton-svelte exec playwright install
- name: Run tests
run: pnpm test