Skip to content

Commit

Permalink
Bump Yarn and dependency versions, remove husky (#6)
Browse files Browse the repository at this point in the history
* Bump dependencies in yarn.lock
* Bump Yarn to version 4.4.1
* Remove husky due to missing lifecycle script support in Yarn
* Use specific LTS Node versions in CI instead of latest tag
  • Loading branch information
surilindur authored Sep 3, 2024
1 parent af9b644 commit 4d9ca9c
Show file tree
Hide file tree
Showing 5 changed files with 359 additions and 313 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
node-version: 22.x
- uses: actions/cache@v4
with:
path: '**/.yarn'
Expand All @@ -35,7 +35,7 @@ jobs:
node-version:
- 18.x
- 20.x
- latest
- 22.x
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
- run: git config --global core.autocrlf input
- uses: actions/cache@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
registry-url: https://registry.npmjs.org
- uses: actions/cache@v4
with:
Expand Down
1 change: 0 additions & 1 deletion .husky/pre-commit

This file was deleted.

6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "readable-from-web",
"type": "commonjs",
"version": "1.0.0",
"packageManager": "yarn@4.3.1",
"packageManager": "yarn@4.4.1",
"description": "Experimental converter from WHATWG ReadableStream to readable-stream Readable",
"license": "MIT",
"homepage": "https://github.com/comunica/readable-from-web.js",
Expand All @@ -23,8 +23,7 @@
"scripts": {
"lint": "eslint .",
"build": "tsc",
"test": "jest",
"prepare": "husky"
"test": "jest"
},
"dependencies": {
"@types/readable-stream": "^4.0.0",
Expand All @@ -35,7 +34,6 @@
"@rubensworks/eslint-config": "^3.0.0",
"@types/jest": "^29.0.0",
"eslint": "^8.0.0",
"husky": "^9.0.0",
"jest": "^29.0.0",
"readable-stream-node-to-web": "^1.0.0",
"stream-to-string": "^1.0.0",
Expand Down
Loading

0 comments on commit 4d9ca9c

Please sign in to comment.