Skip to content

refactor: swap out interface with type where appropriate #78

refactor: swap out interface with type where appropriate

refactor: swap out interface with type where appropriate #78

Workflow file for this run

name: Validate
on: [push]
env:
CI: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: lts/hydrogen
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: latest
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install Dependencies
run: pnpm install
- name: Lint Code and Styles
run: pnpm lint
- name: Check Svelte and TypeScript
run: pnpm check
- name: Test
run: pnpm vitest