Skip to content

Update dependency eslint to v9 - autoclosed #1192

Update dependency eslint to v9 - autoclosed

Update dependency eslint to v9 - autoclosed #1192

Workflow file for this run

name: Tests
on:
pull_request:
paths:
- '**'
jobs:
build:
name: Builds & Tests
runs-on: ubuntu-latest
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
# nodeVersion: 18
# - name: πŸ› οΈ Prepare nx 1/2
# uses: nrwl/nx-set-shas@v4
# - name: πŸ› οΈ Prepare nx 2/2
# run: git branch --track main origin/main
# - name: πŸ‘Œ Run nx affected
# run: pnpm nx:affected
- name: πŸ‘Œ Run nx all
run: pnpm nx:all
# - name: 🚧 Build Packages
# run: pnpm run build
# - name: 🧹 Lint Check
# run: pnpm run lint
# - name: πŸ‘Œ Run Tests
# run: pnpm run test:ci
verify_create:
name: Verify Create
runs-on: ubuntu-latest
strategy:
matrix:
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
# nodeVersion: 18
- name: 🚧 Run nx 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 playwright@1.42.1 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