Skip to content

Commit 305df38

Browse files
committed
chore: remove usage of git hooks (husky, lint-staged, commitlint) + usage of node --run
1 parent 8b3d910 commit 305df38

File tree

15 files changed

+407
-1797
lines changed

15 files changed

+407
-1797
lines changed

.commitlintrc.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/lint.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,14 @@ jobs:
2121
- name: "Install dependencies"
2222
run: "npm clean-install"
2323

24-
- run: 'npm run lint:commit -- --to "${{ github.sha }}"'
25-
- run: "npm run lint:editorconfig"
26-
- run: "npm run lint:markdown"
27-
- run: "npm run lint:eslint"
28-
- run: "npm run lint:prettier"
24+
- run: "node --run lint:editorconfig"
25+
- run: "node --run lint:markdown"
26+
- run: "node --run lint:eslint"
27+
- run: "node --run lint:prettier"
28+
29+
commitlint:
30+
runs-on: "ubuntu-latest"
31+
steps:
32+
- uses: "actions/[email protected]"
33+
34+
- uses: "wagoid/[email protected]"

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: "npm audit signatures"
3232

3333
- name: "Release"
34-
run: "npm run release"
34+
run: "node --run release"
3535
env:
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3737
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
run: "npm clean-install"
2323

2424
- name: "Test"
25-
run: "npm run test"
25+
run: "node --run test"

.husky/commit-msg

Lines changed: 0 additions & 2 deletions
This file was deleted.

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
This file was deleted.

.lintstagedrc.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

.npmrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
save-exact=true
2-
provenance=true
1+
save-exact = true
2+
provenance = true

.releaserc.json

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
11
{
22
"branches": ["main", { "name": "beta", "prerelease": true }],
33
"plugins": [
4-
[
5-
"@semantic-release/commit-analyzer",
6-
{
7-
"preset": "conventionalcommits"
8-
}
9-
],
10-
[
11-
"@semantic-release/release-notes-generator",
12-
{
13-
"preset": "conventionalcommits"
14-
}
15-
],
4+
"@semantic-release/commit-analyzer",
5+
"@semantic-release/release-notes-generator",
166
"@semantic-release/npm",
177
"@semantic-release/github"
188
]

.vscode/extensions.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)