Add mise task discovery support #37
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: CI | |
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| - run: npm ci | |
| - name: Format | |
| run: make format | |
| - name: Lint | |
| run: make lint | |
| - name: Spell check | |
| run: make spellcheck | |
| - name: Build | |
| run: make build | |
| - name: Test | |
| run: make test EXCLUDE_CI=true | |
| - name: Package | |
| run: make package | |
| website: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Install dependencies | |
| run: npm ci | |
| working-directory: website | |
| - name: Build site | |
| run: npx @11ty/eleventy | |
| working-directory: website | |
| - name: Install Playwright | |
| run: npx playwright install --with-deps chromium | |
| working-directory: website | |
| - name: Run website tests | |
| run: npx playwright test | |
| working-directory: website |