Modernize component docs playground #7
Workflow file for this run
This file contains hidden or 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: Run Docs Tests | |
| on: | |
| pull_request: | |
| jobs: | |
| docs-tests: | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-24.04 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Cache version builds | |
| uses: actions/cache@v5 | |
| with: | |
| key: tanaabtheme-vitepress-cache | |
| path: .vitepress/cache | |
| - name: Install Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version-file: .bun-version | |
| - name: Install dependencies | |
| run: bun install --no-save --frozen-lockfile | |
| - name: Run linter | |
| run: bun run lint | |
| - name: Run JavaScript tests | |
| run: bun run test | |
| - name: Test mvb | |
| run: bun run mvb | |
| - name: Test build | |
| run: bun run build |