Skip to content

Commit ae8738a

Browse files
ci: Remove git pre-commit hook (#7756)
* ci: Remove git pre-commit hook * Lock setup action digest
1 parent 70620ec commit ae8738a

File tree

7 files changed

+545
-900
lines changed

7 files changed

+545
-900
lines changed

.github/workflows/autofix.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Checkout
1919
uses: actions/checkout@v4
2020
- name: Setup Tools
21-
uses: tanstack/config/.github/setup@main
21+
uses: tanstack/config/.github/setup@629cd3152485cbe985f5a7e66d370c858132c517
2222
- name: Fix formatting
2323
run: pnpm prettier:write
2424
- name: Apply fixes

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Start Nx Agents
3434
run: npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml"
3535
- name: Setup Tools
36-
uses: tanstack/config/.github/setup@main
36+
uses: tanstack/config/.github/setup@629cd3152485cbe985f5a7e66d370c858132c517
3737
- name: Run Tests
3838
run: pnpm run test:ci --parallel=3
3939
- name: Stop Nx Agents

.github/workflows/pr.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Start Nx Agents
2828
run: npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml"
2929
- name: Setup Tools
30-
uses: tanstack/config/.github/setup@main
30+
uses: tanstack/config/.github/setup@629cd3152485cbe985f5a7e66d370c858132c517
3131
- name: Get base and head commits for `nx affected`
3232
uses: nrwl/nx-set-shas@v4
3333
with:
@@ -52,7 +52,7 @@ jobs:
5252
with:
5353
fetch-depth: 0
5454
- name: Setup Tools
55-
uses: tanstack/config/.github/setup@main
55+
uses: tanstack/config/.github/setup@629cd3152485cbe985f5a7e66d370c858132c517
5656
- name: Build Packages
5757
run: pnpm run build:all
5858
- name: Publish Previews

.husky/pre-commit

-1
This file was deleted.

.lintstagedrc

-3
This file was deleted.

package.json

-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"scripts": {
1111
"clean": "pnpm --filter \"./packages/**\" run clean",
1212
"preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...')} else {process.exit(1)}\" || npx -y only-allow pnpm",
13-
"prepare": "husky",
1413
"test": "pnpm run test:ci",
1514
"test:pr": "nx affected --targets=test:format,test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build",
1615
"test:ci": "nx run-many --targets=test:format,test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build",
@@ -55,10 +54,8 @@
5554
"esbuild-plugin-file-path-extensions": "^2.1.0",
5655
"eslint": "^8.57.0",
5756
"eslint-plugin-react-hooks": "^4.6.2",
58-
"husky": "^9.0.11",
5957
"jsdom": "^24.1.0",
6058
"knip": "^5.26.0",
61-
"lint-staged": "^15.2.2",
6259
"nx": "^19.4.3",
6360
"prettier": "^4.0.0-alpha.8",
6461
"prettier-plugin-svelte": "^3.2.3",

0 commit comments

Comments
 (0)