π§ UPDATE: CI #1674
Workflow file for this run
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: Tests | |
on: | |
pull_request: | |
paths: | |
- '**' | |
jobs: | |
build: | |
name: Builds & Tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
prj: | |
[ | |
eslint-config, | |
handles, | |
helpers, | |
internals, | |
vite-plugin-kit-routes, | |
vite-plugin-stripper, | |
vite-plugin-watch-and-run, | |
] | |
steps: | |
- name: π Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits | |
fetch-depth: 0 | |
- name: π§βπ» Setup env | |
uses: jycouet/jycouet/shared-config/setup@main | |
with: | |
pnpmVersion: 9.15.1 | |
nodeVersion: 22.11.0 | |
- name: π§ Build Packages | |
run: pnpm -F "!website" build | |
- name: π§Ή Lint Check | |
run: pnpm -F ${{ matrix.prj }} lint | |
- name: π Run Tests | |
run: pnpm -F ${{ matrix.prj }} test:ci | |
# verify_create: | |
# name: Verify Create | |
# runs-on: ubuntu-latest | |
# strategy: | |
# matrix: | |
# template: [kit-routes] | |
# # template: [kit-routes, sveltekit-remult] | |
# steps: | |
# - name: π Checkout Repository | |
# uses: actions/checkout@v4 | |
# with: | |
# # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits | |
# fetch-depth: 0 | |
# - name: π§βπ» Setup env | |
# uses: jycouet/jycouet/shared-config/setup@main | |
# with: | |
# pnpmVersion: 9.15.1 | |
# nodeVersion: 22.11.0 | |
# - name: π§ Run build | |
# run: pnpm build | |
# - name: β Create template | |
# run: | |
# cd packages/create-kitql && pnpm dev test-${{ matrix.template }} -t ${{ matrix.template }} | |
# - name: π§βπ» Install playwright | |
# run: cd packages/create-kitql/test-${{ matrix.template }} && npx [email protected] install | |
# - name: π οΈ e2e install | |
# run: cd packages/create-kitql/test-${{ matrix.template }} && pnpm i --no-frozen-lockfile | |
# - name: π e2e tests (build, e2e, unit) | |
# run: cd packages/create-kitql/test-${{ matrix.template }} && pnpm run test:ci |