Docs: Svelte CSF snippets #41700
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: Unit tests | |
on: | |
push: | |
branches: | |
- next | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
name: Core Unit Tests, ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set node version | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
- name: install and compile | |
run: yarn task --task compile --start-from=auto | |
- name: Install Playwright Dependencies | |
run: cd code && yarn exec playwright install chromium --with-deps | |
- name: test | |
run: yarn test |