mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 00:37:22 +00:00
ci: Use node v22 (#5167)
In package.json, the reason for >= 22.15 is that thats the node:zlib's zstd minimum version Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
This commit is contained in:
@@ -19,7 +19,7 @@ jobs:
|
||||
- uses: actions/checkout@v7
|
||||
- uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: yarn
|
||||
- run: yarn install --immutable
|
||||
- name: Cache for Turbo
|
||||
|
||||
@@ -16,7 +16,7 @@ jobs:
|
||||
- uses: actions/checkout@v7
|
||||
- uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: yarn
|
||||
- run: yarn install --immutable
|
||||
- name: Cache for Turbo
|
||||
|
||||
@@ -16,7 +16,7 @@ jobs:
|
||||
- uses: actions/checkout@v7
|
||||
- uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: yarn
|
||||
- run: yarn install --immutable
|
||||
- name: Cache for Turbo
|
||||
@@ -33,7 +33,7 @@ jobs:
|
||||
- uses: actions/checkout@v7
|
||||
- uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: yarn
|
||||
- run: yarn install --immutable
|
||||
- name: Cache for Turbo
|
||||
@@ -51,7 +51,7 @@ jobs:
|
||||
- uses: actions/checkout@v7
|
||||
- uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: yarn
|
||||
- run: yarn install --immutable
|
||||
- name: Cache for Turbo
|
||||
@@ -71,7 +71,7 @@ jobs:
|
||||
- uses: actions/checkout@v7
|
||||
- uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: yarn
|
||||
- run: yarn install --immutable
|
||||
- name: Cache for Turbo
|
||||
|
||||
@@ -16,7 +16,7 @@ jobs:
|
||||
- uses: actions/checkout@v7
|
||||
- uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: yarn
|
||||
- uses: denoland/setup-deno@v2
|
||||
with:
|
||||
@@ -35,7 +35,7 @@ jobs:
|
||||
- uses: actions/checkout@v7
|
||||
- uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: yarn
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
|
||||
@@ -25,7 +25,7 @@ jobs:
|
||||
- uses: actions/checkout@v7
|
||||
- uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: yarn
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
scope: '@discordeno'
|
||||
|
||||
@@ -18,7 +18,7 @@ jobs:
|
||||
- uses: actions/checkout@v7
|
||||
- uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: yarn
|
||||
cache-dependency-path: |
|
||||
yarn.lock
|
||||
@@ -62,7 +62,7 @@ jobs:
|
||||
- uses: actions/checkout@v7
|
||||
- uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: yarn
|
||||
cache-dependency-path: |
|
||||
yarn.lock
|
||||
|
||||
@@ -16,7 +16,7 @@ jobs:
|
||||
- uses: actions/checkout@v7
|
||||
- uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: yarn
|
||||
- run: yarn install --immutable
|
||||
- name: Cache for Turbo
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@
|
||||
"typescript": "^6.0.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.19.0"
|
||||
"node": ">=22.15.0"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*": "biome check --no-errors-on-unmatched --write"
|
||||
|
||||
Reference in New Issue
Block a user