Skip to content

Commit

Permalink
ci: Remove git pre-commit hook (#7756)
Browse files Browse the repository at this point in the history
* ci: Remove git pre-commit hook

* Lock setup action digest
  • Loading branch information
lachlancollins committed Jul 18, 2024
1 parent 70620ec commit ae8738a
Show file tree
Hide file tree
Showing 7 changed files with 545 additions and 900 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Tools
uses: tanstack/config/.github/setup@main
uses: tanstack/config/.github/setup@629cd3152485cbe985f5a7e66d370c858132c517
- name: Fix formatting
run: pnpm prettier:write
- name: Apply fixes
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Start Nx Agents
run: npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml"
- name: Setup Tools
uses: tanstack/config/.github/setup@main
uses: tanstack/config/.github/setup@629cd3152485cbe985f5a7e66d370c858132c517
- name: Run Tests
run: pnpm run test:ci --parallel=3
- name: Stop Nx Agents
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Start Nx Agents
run: npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml"
- name: Setup Tools
uses: tanstack/config/.github/setup@main
uses: tanstack/config/.github/setup@629cd3152485cbe985f5a7e66d370c858132c517
- name: Get base and head commits for `nx affected`
uses: nrwl/nx-set-shas@v4
with:
Expand All @@ -52,7 +52,7 @@ jobs:
with:
fetch-depth: 0
- name: Setup Tools
uses: tanstack/config/.github/setup@main
uses: tanstack/config/.github/setup@629cd3152485cbe985f5a7e66d370c858132c517
- name: Build Packages
run: pnpm run build:all
- name: Publish Previews
Expand Down
1 change: 0 additions & 1 deletion .husky/pre-commit

This file was deleted.

3 changes: 0 additions & 3 deletions .lintstagedrc

This file was deleted.

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"scripts": {
"clean": "pnpm --filter \"./packages/**\" run clean",
"preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...')} else {process.exit(1)}\" || npx -y only-allow pnpm",
"prepare": "husky",
"test": "pnpm run test:ci",
"test:pr": "nx affected --targets=test:format,test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build",
"test:ci": "nx run-many --targets=test:format,test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build",
Expand Down Expand Up @@ -55,10 +54,8 @@
"esbuild-plugin-file-path-extensions": "^2.1.0",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
"husky": "^9.0.11",
"jsdom": "^24.1.0",
"knip": "^5.26.0",
"lint-staged": "^15.2.2",
"nx": "^19.4.3",
"prettier": "^4.0.0-alpha.8",
"prettier-plugin-svelte": "^3.2.3",
Expand Down
Loading

0 comments on commit ae8738a

Please sign in to comment.