Skip to content

Commit

Permalink
ci: upgrade pnpm and node
Browse files Browse the repository at this point in the history
  • Loading branch information
dangreen committed Jan 1, 2025
1 parent 2198ca8 commit 77c4a94
Show file tree
Hide file tree
Showing 13 changed files with 6,072 additions and 4,627 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
version: 9
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
Expand Down
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@v2
with:
version: 8
version: 9
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,16 @@ jobs:
strategy:
matrix:
node-version:
- 16
- 18
- 20
- 22
name: Node.js ${{ matrix.node-version }} / unit
steps:
- name: Checkout the repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
version: 9
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
nodejs 22.4.1
pnpm 9.9.0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"url": "https://github.com/TrigenSoftware/scripts/issues"
},
"engines": {
"node": ">=14"
"node": ">=20"
},
"scripts": {
"clear": "del './packages/*/dist' ./coverage ./node_modules/.cache",
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"babel-preset"
],
"engines": {
"node": ">=10"
"node": ">=20"
},
"main": "./src/index.js",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/browserslist-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"browserslist-config"
],
"engines": {
"node": ">=10"
"node": ">=20"
},
"main": "./src/index.js",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"eslint-config"
],
"engines": {
"node": ">=10"
"node": ">=20"
},
"main": "./src/index.js",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/lint-package-json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"dlx"
],
"engines": {
"node": ">=14"
"node": ">=20"
},
"bin": {
"lint-package-json": "./src/index.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/npm-package-json-lint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"npm-package-json-lint-config"
],
"engines": {
"node": ">=10"
"node": ">=20"
},
"main": "./src/index.js",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/project-files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"snippets"
],
"engines": {
"node": ">=14"
"node": ">=20"
},
"bin": "./src/bin.js",
"exports": "./src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"runner"
],
"engines": {
"node": ">=14"
"node": ">=20"
},
"bin": {
"run": "./src/run.js"
Expand Down
Loading

0 comments on commit 77c4a94

Please sign in to comment.