Skip to content

Commit

Permalink
infra!: support Node 22 (LTS); drop 18
Browse files Browse the repository at this point in the history
  • Loading branch information
AviVahl committed Nov 2, 2024
1 parent f211f08 commit a6f30b8
Show file tree
Hide file tree
Showing 28 changed files with 61 additions and 61 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ updates:
ignore:
- dependency-name: '@types/node'
versions:
- '>=13'
- '>=21'
4 changes: 2 additions & 2 deletions .github/workflows/next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18
- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
registry-url: 'https://registry.npmjs.org/'
cache: npm
- run: npm ci
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
registry-url: 'https://registry.npmjs.org/'
cache: npm
- run: npm ci
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18
- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
registry-url: 'https://registry.npmjs.org/'
cache: npm
- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [20, 18]
node-version: [22, 20]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v4
Expand Down
60 changes: 30 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@types/lodash.upperfirst": "^4.3.9",
"@types/mime": "^3.0.4",
"@types/mocha": "^10.0.9",
"@types/node": "18",
"@types/node": "20",
"@types/postcss-safe-parser": "^5.0.4",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
Expand Down Expand Up @@ -82,7 +82,7 @@
"yargs": "^17.7.2"
},
"engines": {
"node": ">=18.12.0"
"node": ">=20"
},
"repository": "[email protected]:wix/stylable.git",
"author": "Wix.com",
Expand Down
2 changes: 1 addition & 1 deletion packages/build-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"!*/tsconfig.{json,tsbuildinfo}"
],
"engines": {
"node": ">=18.12.0"
"node": ">=20"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"!*/tsconfig.{json,tsbuildinfo}"
],
"engines": {
"node": ">=18.12.0"
"node": ">=20"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/code-formatter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"!*/tsconfig.{json,tsbuildinfo}"
],
"engines": {
"node": ">=18.12.0"
"node": ">=20"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/core-test-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"!*/tsconfig.{json,tsbuildinfo}"
],
"engines": {
"node": ">=18.12.0"
"node": ">=20"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"!*/tsconfig.{json,tsbuildinfo}"
],
"engines": {
"node": ">=18.12.0"
"node": ">=20"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/create-stylable-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"application"
],
"engines": {
"node": ">=18.12.0"
"node": ">=20"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/custom-value/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"!*/tsconfig.{json,tsbuildinfo}"
],
"engines": {
"node": ">=18.12.0"
"node": ">=20"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/dom-test-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"!*/tsconfig.{json,tsbuildinfo}"
],
"engines": {
"node": ">=18.12.0"
"node": ">=20"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-test-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"!*/tsconfig.{json,tsbuildinfo}"
],
"engines": {
"node": ">=18.12.0"
"node": ">=20"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/esbuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"!*/tsconfig.{json,tsbuildinfo}"
],
"engines": {
"node": ">=18.12.0"
"node": ">=20"
},
"publishConfig": {
"access": "public"
Expand Down
Loading

0 comments on commit a6f30b8

Please sign in to comment.