Merge pull request #36 from e18e/automated-stats-update #11
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 - SvelteKit | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'packages/starter-sveltekit/**' | |
| - '.github/workflows/ci-sveltekit.yml' | |
| - 'package.json' | |
| - 'pnpm-lock.yaml' | |
| - 'eslint.config.js' | |
| - 'prettier.config.js' | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'packages/starter-sveltekit/**' | |
| - '.github/workflows/ci-sveltekit.yml' | |
| - 'package.json' | |
| - 'pnpm-lock.yaml' | |
| - 'eslint.config.js' | |
| - 'prettier.config.js' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '24' | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Format check | |
| run: pnpm --filter starter-sveltekit format:check | |
| - name: Lint | |
| run: pnpm --filter starter-sveltekit lint | |
| - name: Type check | |
| run: pnpm --filter starter-sveltekit type-check | |
| - name: Build | |
| run: pnpm --filter starter-sveltekit build |