Theme component and darkside support (#233) #373
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, lint and check commit | |
on: | |
push: | |
branches: "main" | |
pull_request: | |
paths: | |
- "**" | |
jobs: | |
unit_test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install asdf | |
uses: asdf-vm/actions/setup@v3 | |
- name: asdf cache | |
id: asdf-cache | |
uses: actions/cache@v4 | |
with: | |
path: ~/.asdf/ | |
key: ${{ runner.os }}-${{ hashFiles('**/.tool-versions') }} | |
- name: Install CD tools from .tool-versions | |
if: steps.asdf-cache.outputs.cache-hit != 'true' | |
uses: asdf-vm/actions/install@v3 | |
- name: Install | |
run: |- | |
bun install --frozen-lockfile | |
bun run build:libs | |
bun run sync | |
- name: Test and lint ds-svelte-community | |
run: |- | |
cd packages/ds-svelte-community | |
bun run test | |
bun run lint | |
bun run check | |
- name: Test and lint ds-svelte-community-preprocess-svelte | |
run: |- | |
cd packages/ds-svelte-community-preprocess-svelte | |
bun run test | |
bun run lint | |
bun run check | |
- name: Test and lint vite-plugin-svelte-docs | |
run: |- | |
cd packages/vite-plugin-svelte-docs | |
bun run test | |
bun run lint | |
bun run check |