-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove usage of git hooks (husky, lint-staged, commitlint) + u…
…sage of node --run
- Loading branch information
1 parent
85f4653
commit dd70d6d
Showing
16 changed files
with
725 additions
and
3,718 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,4 @@ | ||
{ | ||
"extends": ["conventions", "prettier"], | ||
"plugins": ["prettier", "import", "unicorn"], | ||
"parserOptions": { | ||
"project": "./tsconfig.json" | ||
}, | ||
"rules": { | ||
"prettier/prettier": "error", | ||
"import/extensions": ["error", "always"] | ||
} | ||
"extends": ["conventions"], | ||
"plugins": ["promise", "unicorn"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,26 +4,32 @@ on: | |
push: | ||
branches: [develop] | ||
pull_request: | ||
branches: [master, develop] | ||
branches: [main, develop] | ||
|
||
jobs: | ||
lint: | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- uses: "actions/[email protected].1" | ||
- uses: "actions/[email protected].7" | ||
|
||
- name: "Setup Node.js" | ||
uses: "actions/[email protected].2" | ||
uses: "actions/[email protected].3" | ||
with: | ||
node-version: "lts/*" | ||
node-version: "22.x" | ||
cache: "npm" | ||
|
||
- name: "Install dependencies" | ||
run: "npm clean-install" | ||
|
||
- run: 'npm run lint:commit -- --to "${{ github.sha }}"' | ||
- run: "npm run lint:editorconfig" | ||
- run: "npm run lint:markdown" | ||
- run: "npm run lint:eslint" | ||
- run: "npm run lint:prettier" | ||
- run: "npm run lint:javascript" | ||
- run: "node --run lint:editorconfig" | ||
- run: "node --run lint:markdown" | ||
- run: "node --run lint:eslint" | ||
- run: "node --run lint:prettier" | ||
- run: "node --run lint:javascript" | ||
|
||
commitlint: | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- uses: "actions/[email protected]" | ||
|
||
- uses: "wagoid/[email protected]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name: "Release" | |
|
||
on: | ||
push: | ||
branches: [master] | ||
branches: [main] | ||
|
||
jobs: | ||
release: | ||
|
@@ -13,15 +13,15 @@ jobs: | |
pull-requests: "write" | ||
id-token: "write" | ||
steps: | ||
- uses: "actions/[email protected].1" | ||
- uses: "actions/[email protected].7" | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
|
||
- name: "Setup Node.js" | ||
uses: "actions/[email protected].2" | ||
uses: "actions/[email protected].3" | ||
with: | ||
node-version: "lts/*" | ||
node-version: "22.x" | ||
cache: "npm" | ||
|
||
- name: "Install dependencies" | ||
|
@@ -31,7 +31,7 @@ jobs: | |
run: "npm audit signatures" | ||
|
||
- name: "Release" | ||
run: "npm run release" | ||
run: "node --run release" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,22 +4,22 @@ on: | |
push: | ||
branches: [develop] | ||
pull_request: | ||
branches: [master, develop] | ||
branches: [main, develop] | ||
|
||
jobs: | ||
test: | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- uses: "actions/[email protected].1" | ||
- uses: "actions/[email protected].7" | ||
|
||
- name: "Setup Node.js" | ||
uses: "actions/[email protected].2" | ||
uses: "actions/[email protected].3" | ||
with: | ||
node-version: "lts/*" | ||
node-version: "22.x" | ||
cache: "npm" | ||
|
||
- name: "Install dependencies" | ||
run: "npm clean-install" | ||
|
||
- name: "Test" | ||
run: "npm run test" | ||
run: "node --run test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
save-exact=true | ||
provenance=true | ||
save-exact = true | ||
provenance = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.