Skip to content

Commit

Permalink
chore: remove husky, fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Jan 13, 2025
1 parent 901d574 commit 75e5fe2
Show file tree
Hide file tree
Showing 6 changed files with 1,628 additions and 1,344 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 22.x

- run: npx changelogithub
env:
Expand Down
19 changes: 13 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,28 @@ jobs:
strategy:
matrix:
node-version:
- 18
- 16
- 22
- 20
name: Node.js ${{ matrix.node-version }} Quick
steps:
- name: Checkout the repository
uses: actions/checkout@v2

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: yarn install --frozen-lockfile --ignore-engines --ignore-scripts
run: pnpm i --frozen-lockfile

- name: build
run: yarn build
run: pnpm build

- name: Run unit tests
run: yarn test
run: pnpm test
env:
FORCE_COLOR: 2
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"dev": "tsup --watch",
"build": "tsup",
"test": "vitest --single-thread",
"prepare": "husky install",
"release": "bumpp package.json --commit --push --tag && tsup && clean-publish"
},
"main": "./dist/node.js",
Expand Down Expand Up @@ -41,7 +40,6 @@
"bumpp": "^9.1.0",
"changelogithub": "^0.12.7",
"clean-publish": "^4.2.0",
"husky": "^8.0.3",
"nano-staged": "^0.8.0",
"prettier": "^2.8.7",
"size-limit": "^8.2.4",
Expand Down
Loading

0 comments on commit 75e5fe2

Please sign in to comment.