Skip to content

Add components required for docs site, set up NPM publishing (#8) #21

Add components required for docs site, set up NPM publishing (#8)

Add components required for docs site, set up NPM publishing (#8) #21

Workflow file for this run

name: Test components
on:
push:
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies from lockfile
run: npm install --legacy-peer-deps # This needs fixing! once sveltekit v2 and storybook work together
- name: Run linter (eslint)
run: npm run lint
- name: Run Svelte and Typescript checks
run: npm run check
- name: Install Playwright browsers for integration tests
run: npx playwright install --with-deps
- name: Run all tests
run: npm test