diff --git a/.config/.husky/commit-msg b/.config/.husky/commit-msg deleted file mode 100644 index 4f9d7bc2..00000000 --- a/.config/.husky/commit-msg +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -pnpm commitlint --edit $1 diff --git a/.config/.husky/install.mjs b/.config/.husky/install.mjs deleted file mode 100644 index 9b13ce1f..00000000 --- a/.config/.husky/install.mjs +++ /dev/null @@ -1,6 +0,0 @@ -// Skip Husky install in production and CI -if (process.env.NODE_ENV === "production" || process.env.CI === "true") { - process.exit(0); -} -const husky = (await import("husky")).default; -console.log(husky()); diff --git a/.config/.husky/pre-commit b/.config/.husky/pre-commit deleted file mode 100644 index cb2c84d5..00000000 --- a/.config/.husky/pre-commit +++ /dev/null @@ -1 +0,0 @@ -pnpm lint-staged diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index bbec27a5..5c47102e 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -4,9 +4,6 @@ on: pull_request: branches: [main, canary] -env: - HUSKY: 0 - jobs: lint-and-typecheck: runs-on: ubuntu-latest @@ -18,7 +15,7 @@ jobs: node-version: 18.18.0 cache: "pnpm" - run: pnpm install --frozen-lockfile - - run: pnpm run server:build + - run: pnpm run server:build - run: pnpm biome ci - run: pnpm typecheck @@ -46,5 +43,5 @@ jobs: node-version: 18.18.0 cache: "pnpm" - run: pnpm install --frozen-lockfile - - run: pnpm run server:build + - run: pnpm run server:build - run: pnpm test diff --git a/.husky/commit-msg b/.husky/commit-msg deleted file mode 100644 index c3c62bfc..00000000 --- a/.husky/commit-msg +++ /dev/null @@ -1 +0,0 @@ -npx commitlint --edit "$1" \ No newline at end of file diff --git a/.husky/install.mjs b/.husky/install.mjs deleted file mode 100644 index 9b13ce1f..00000000 --- a/.husky/install.mjs +++ /dev/null @@ -1,6 +0,0 @@ -// Skip Husky install in production and CI -if (process.env.NODE_ENV === "production" || process.env.CI === "true") { - process.exit(0); -} -const husky = (await import("husky")).default; -console.log(husky()); diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100644 index 1c6b0356..00000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,2 +0,0 @@ -# pnpm run check -# git add .