Skip to content

Commit 699665b

Browse files
authored
Support node 22 (#1298)
1 parent efb589f commit 699665b

File tree

10 files changed

+21
-21
lines changed

10 files changed

+21
-21
lines changed

.github/workflows/check-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup node
2424
uses: actions/setup-node@v4
2525
with:
26-
node-version: '20'
26+
node-version: '22'
2727
cache: 'npm'
2828
cache-dependency-path: ./.github/actions/check-labels/package-lock.json
2929

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup .npmrc file for NPM registry
2020
uses: actions/setup-node@v4
2121
with:
22-
node-version: '20'
22+
node-version: '22'
2323
registry-url: 'https://registry.npmjs.org'
2424
cache: 'npm'
2525

@@ -76,7 +76,7 @@ jobs:
7676
- name: Setup .npmrc file for NPM registry
7777
uses: actions/setup-node@v4
7878
with:
79-
node-version: '20'
79+
node-version: '22'
8080
registry-url: 'https://registry.npmjs.org'
8181

8282
- name: Download packed artifacts
@@ -217,7 +217,7 @@ jobs:
217217
- name: Setup environment
218218
uses: actions/setup-node@v4
219219
with:
220-
node-version: '20'
220+
node-version: '22'
221221
registry-url: 'https://registry.npmjs.org'
222222
cache: 'npm'
223223

.github/workflows/deploy-to-developer-portal-dev.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on:
44
workflow_dispatch:
55
inputs:
66
branch:
7-
description: "Which branch to use?"
8-
default: "main"
7+
description: 'Which branch to use?'
8+
default: 'main'
99
jobs:
1010
deploy:
1111
name: Deploy docs to Developer Portal Bucket
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup node
2323
uses: actions/setup-node@v4
2424
with:
25-
node-version: '20'
25+
node-version: '22'
2626
registry-url: 'https://registry.npmjs.org'
2727
cache: 'npm'
2828

@@ -39,7 +39,7 @@ jobs:
3939

4040
- name: 'Set up Cloud SDK'
4141
uses: 'google-github-actions/setup-gcloud@v2'
42-
42+
4343
- name: 'Deploy to Developer Portal Bucket'
4444
run: |
45-
gsutil -m rsync -r -d -c ./docusaurus/website/build/ gs://staging-developer-portal/plugin-tools
45+
gsutil -m rsync -r -d -c ./docusaurus/website/build/ gs://staging-developer-portal/plugin-tools

.github/workflows/deploy-to-developer-portal-prod.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup node
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: '20'
23+
node-version: '22'
2424
registry-url: 'https://registry.npmjs.org'
2525
cache: 'npm'
2626

@@ -37,7 +37,7 @@ jobs:
3737

3838
- name: 'Set up Cloud SDK'
3939
uses: 'google-github-actions/setup-gcloud@v2'
40-
40+
4141
- name: 'Deploy to Developer Portal Bucket'
4242
run: |
43-
gsutil -m rsync -r -d -c ./docusaurus/website/build/ gs://grafana-developer-portal/plugin-tools
43+
gsutil -m rsync -r -d -c ./docusaurus/website/build/ gs://grafana-developer-portal/plugin-tools

.github/workflows/playwright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Setup Node.js environment
4242
uses: actions/setup-node@v4
4343
with:
44-
node-version: '20'
44+
node-version: '22'
4545
registry-url: 'https://registry.npmjs.org'
4646

4747
- name: Install dependencies

.github/workflows/test-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ jobs:
2727
build-docs:
2828
needs: changes
2929
if: ${{ needs.changes.outputs.docs == 'true' }}
30-
runs-on: ubuntu-latest
30+
runs-on: ubuntu-latest
3131
steps:
3232
- name: Checkout repository
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v4
3434
- name: Setup node
3535
uses: actions/setup-node@v4
3636
with:
37-
node-version: '20'
37+
node-version: '22'
3838
registry-url: 'https://registry.npmjs.org'
3939
cache: 'npm'
4040
- name: Install dependencies

packages/create-plugin/templates/common/_package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"webpack-virtual-modules": "^0.6.2"
6363
},
6464
"engines": {
65-
"node": ">=20"
65+
"node": ">=22"
6666
},
6767
"dependencies": {
6868
"@emotion/css": "11.10.6",

packages/create-plugin/templates/github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Setup Node.js environment
3535
uses: actions/setup-node@v4
3636
with:
37-
node-version: '20'
37+
node-version: '22'
3838
cache: '{{ packageManagerName }}'
3939

4040
- name: Install dependencies
@@ -167,7 +167,7 @@ jobs:
167167
- name: Setup Node.js environment
168168
uses: actions/setup-node@v4
169169
with:
170-
node-version: '20'
170+
node-version: '22'
171171
cache: '{{ packageManagerName }}'
172172

173173
- name: Install dev dependencies

packages/create-plugin/templates/github/workflows/is-compatible.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Setup Node.js environment
1515
uses: actions/setup-node@v4
1616
with:
17-
node-version: '20'
17+
node-version: '22'
1818
cache: '{{ packageManagerName }}'
1919
- name: Install dependencies
2020
run: {{ packageManagerInstallCmd }}

packages/plugin-e2e/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"playwright:all": "npx playwright test"
3333
},
3434
"engines": {
35-
"node": ">=18 <=20"
35+
"node": ">=18 <=22"
3636
},
3737
"peerDependencies": {
3838
"@playwright/test": "^1.41.2"

0 commit comments

Comments
 (0)