Add components required for docs site, set up NPM publishing #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |