Skip to content

Commit 9ef5843

Browse files
authored
Support Node 18 (#25)
1 parent dfebcf0 commit 9ef5843

File tree

4 files changed

+271
-152
lines changed

4 files changed

+271
-152
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
- uses: actions/checkout@v3
1212

1313
- name: Setup environment
14-
uses: actions/setup-node@v3.1.1
14+
- uses: actions/setup-node@v3
1515
with:
16-
node-version: '16'
16+
node-version-file: '.nvmrc'
1717

1818
- name: Install dependencies
1919
run: yarn install --immutable

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ jobs:
2929

3030
- name: Setup .npmrc file for NPM registry
3131
if: steps.version_check.outputs.changed == 'true'
32-
uses: actions/setup-node@v2
32+
- uses: actions/setup-node@v3
3333
with:
34-
node-version: '16'
34+
node-version-file: '.nvmrc'
3535
registry-url: 'https://registry.npmjs.org'
3636

3737
- name: Install dependencies
@@ -50,9 +50,9 @@ jobs:
5050

5151
- name: Setup .npmrc file for GitHub Packages
5252
if: steps.version_check.outputs.changed == 'true'
53-
uses: actions/setup-node@v2
53+
- uses: actions/setup-node@v3
5454
with:
55-
node-version: '16'
55+
node-version-file: '.nvmrc'
5656
registry-url: 'https://npm.pkg.github.com'
5757
scope: '@grafana'
5858

@@ -77,4 +77,4 @@ jobs:
7777
await github.request(`POST /repos/${{ github.repository }}/releases`, {
7878
tag_name: "v${{needs.npm-publish.outputs.new_version }}",
7979
generate_release_notes: true
80-
});
80+
});

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
"devDependencies": {
3333
"@grafana/data": "9.3.2",
34-
"@grafana/eslint-config": "^5.1.0",
34+
"@grafana/eslint-config": "^6.0.1",
3535
"@grafana/runtime": "9.3.2",
3636
"@grafana/tsconfig": "^1.2.0-rc1",
3737
"@grafana/ui": "9.3.2",
@@ -47,7 +47,7 @@
4747
"@typescript-eslint/eslint-plugin": "^5.48.0",
4848
"esbuild": "^0.16.10",
4949
"eslint": "^8.31.0",
50-
"eslint-plugin-jsdoc": "^39.6.4",
50+
"eslint-plugin-jsdoc": "^46.7.0",
5151
"eslint-plugin-react": "^7.31.11",
5252
"eslint-plugin-react-hooks": "^4.6.0",
5353
"jest": "^29.3.1",

0 commit comments

Comments
 (0)