Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v6
with:
version: 11.9.0
version: 12
- name: Install Node.js
uses: actions/setup-node@v7
with:
node-version: 24
node-version-file: .tool-versions
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
Expand All @@ -42,11 +42,11 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v6
with:
version: 11.9.0
version: 12
- name: Install Node.js
uses: actions/setup-node@v7
with:
node-version: 24
node-version-file: .tool-versions
cache: 'pnpm'
- name: Check package.json files
run: pnpm --package=@trigen/lint-package-json dlx lint-package-json --monorepo --ignore examples
4 changes: 2 additions & 2 deletions .github/workflows/commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v6
with:
version: 11.9.0
version: 12
- name: Install Node.js
uses: actions/setup-node@v7
with:
node-version: 24
node-version-file: .tool-versions
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v6
with:
version: 11.9.0
version: 12
- name: Install Node.js
uses: actions/setup-node@v7
with:
node-version: 24
node-version-file: .tool-versions
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
Expand Down
24 changes: 16 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v6
with:
version: 11.9.0
version: 12
- name: Install Node.js
uses: actions/setup-node@v7
with:
node-version: 24
node-version-file: .tool-versions
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
Expand All @@ -33,37 +33,45 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v6
with:
version: 11.9.0
version: 12
- name: Install Node.js
uses: actions/setup-node@v7
with:
node-version: 24
node-version-file: .tool-versions
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Lint files
run: pnpm lint
unit:
runs-on: ubuntu-latest
name: unit
name: unit (${{ matrix.node-version || '.tool-versions' }})
strategy:
matrix:
# The least Node.js the packages declare, and the one the repository is developed on
include:
- node-version: 22
- node-version-file: .tool-versions
steps:
- name: Checkout the repository
uses: actions/checkout@v7
- name: Install pnpm
uses: pnpm/action-setup@v6
with:
version: 11.9.0
version: 12
- name: Install Node.js
uses: actions/setup-node@v7
with:
node-version: 24
node-version: ${{ matrix.node-version }}
node-version-file: ${{ matrix.node-version-file }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run tests
run: pnpm test:unit
# One upload per commit, from the leg of the version the repository is developed on
- name: Collect coverage
uses: coverallsapp/github-action@main
if: success()
if: success() && matrix.node-version-file
with:
fail-on-error: false
4 changes: 2 additions & 2 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v6
with:
version: 11.9.0
version: 12
- name: Install Node.js
uses: actions/setup-node@v7
with:
node-version: 24
node-version-file: .tool-versions
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
Expand Down
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pnpm 11.9.0
nodejs 24.20.0
pnpm 12.9.1
nodejs 26.10.0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@trigen/oxlint": "^10.1.1",
"@trigen/oxlint-config": "^10.1.2",
"@trigen/scripts": "^10.1.1",
"@types/node": "^24.0.0",
"@types/node": "^22.0.0",
"@vitest/coverage-v8": "^4.1.9",
"clean-publish": "^5.0.0",
"commitizen": "^4.3.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/bundler-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@
"sharp": "^0.35.3"
},
"devDependencies": {
"@types/node": "^24.0.0"
"@types/node": "^22.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"tinyglobby": "^0.2.10"
},
"devDependencies": {
"@types/node": "^24.0.0",
"@types/node": "^22.0.0",
"sharp": "^0.35.3"
}
}
2 changes: 1 addition & 1 deletion packages/cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"devDependencies": {
"@size-limit/preset-small-lib": "^13.0.0",
"@srcset/runtime": "workspace:^",
"@types/node": "^24.0.0",
"@types/node": "^22.0.0",
"size-limit": "^13.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
},
"devDependencies": {
"@types/css-mediaquery": "^0.1.4",
"@types/node": "^24.0.0",
"@types/node": "^22.0.0",
"@types/picomatch": "^4.0.3"
}
}
2 changes: 1 addition & 1 deletion packages/imgproxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"devDependencies": {
"@size-limit/preset-small-lib": "^13.0.0",
"@srcset/runtime": "workspace:^",
"@types/node": "^24.0.0",
"@types/node": "^22.0.0",
"sharp": "^0.35.3",
"size-limit": "^13.0.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"devDependencies": {
"@rspack/core": "^2.1.4",
"@srcset/runtime": "workspace:^",
"@types/node": "^24.0.0",
"@types/node": "^22.0.0",
"memfs": "^4.64.0",
"sharp": "^0.35.3",
"webpack": "^5.108.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/vite-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
},
"devDependencies": {
"@srcset/runtime": "workspace:^",
"@types/node": "^24.0.0",
"@types/node": "^22.0.0",
"sharp": "^0.35.3",
"vite": "^8.1.0"
}
Expand Down
Loading
Loading