Skip to content

Commit

Permalink
Support Node 18
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinwcyu committed Oct 17, 2023
1 parent dfebcf0 commit 10bbc43
Show file tree
Hide file tree
Showing 4 changed files with 271 additions and 152 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
- uses: actions/checkout@v3

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

- name: Install dependencies
run: yarn install --immutable
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:

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

- name: Install dependencies
Expand All @@ -50,9 +50,9 @@ jobs:

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

Expand All @@ -77,4 +77,4 @@ jobs:
await github.request(`POST /repos/${{ github.repository }}/releases`, {
tag_name: "v${{needs.npm-publish.outputs.new_version }}",
generate_release_notes: true
});
});
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"devDependencies": {
"@grafana/data": "9.3.2",
"@grafana/eslint-config": "^5.1.0",
"@grafana/eslint-config": "^6.0.1",
"@grafana/runtime": "9.3.2",
"@grafana/tsconfig": "^1.2.0-rc1",
"@grafana/ui": "9.3.2",
Expand All @@ -47,7 +47,7 @@
"@typescript-eslint/eslint-plugin": "^5.48.0",
"esbuild": "^0.16.10",
"eslint": "^8.31.0",
"eslint-plugin-jsdoc": "^39.6.4",
"eslint-plugin-jsdoc": "^46.7.0",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.3.1",
Expand Down
Loading

0 comments on commit 10bbc43

Please sign in to comment.