Skip to content

Commit

Permalink
refactor(node): replace .nvmrc to .node-version (#21471)
Browse files Browse the repository at this point in the history
  • Loading branch information
hongbo-miao authored Dec 12, 2024
1 parent dc7f0ee commit 0e6d582
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
* @hongbo-miao

**/.nvmrc
**/.node-version
**/.ruby-version
**/.scalafmt.conf
**/.terraform.lock.hcl
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/.lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: .nvmrc
node-version-file: .node-version
cache: npm
cache-dependency-path: package-lock.json
- name: Install dependencies
Expand Down Expand Up @@ -424,7 +424,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: api-node/.nvmrc
node-version-file: api-node/.node-version
cache: npm
cache-dependency-path: api-node/package-lock.json
- name: Install dependencies
Expand All @@ -449,7 +449,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: ethereum/.nvmrc
node-version-file: ethereum/.node-version
cache: npm
cache-dependency-path: ethereum/package-lock.json
- name: Install dependencies
Expand All @@ -474,7 +474,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: data-visualization/grafana/hm-panel-plugin/.nvmrc
node-version-file: data-visualization/grafana/hm-panel-plugin/.node-version
cache: npm
cache-dependency-path: data-visualization/grafana/hm-panel-plugin/package-lock.json
- name: Install dependencies
Expand All @@ -499,7 +499,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: mobile/mobile-react-native/.nvmrc
node-version-file: mobile/mobile-react-native/.node-version
cache: npm
cache-dependency-path: mobile/mobile-react-native/package-lock.json
- name: Install dependencies
Expand All @@ -524,7 +524,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: web/.nvmrc
node-version-file: web/.node-version
cache: npm
cache-dependency-path: web/package-lock.json
- name: Install dependencies
Expand All @@ -549,7 +549,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: web-cypress/.nvmrc
node-version-file: web-cypress/.node-version
cache: npm
cache-dependency-path: web-cypress/package-lock.json
- name: Install dependencies
Expand Down Expand Up @@ -623,7 +623,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: .nvmrc
node-version-file: .node-version
cache: npm
cache-dependency-path: package-lock.json
- name: Install dependencies
Expand Down Expand Up @@ -1179,7 +1179,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: .nvmrc
node-version-file: .node-version
cache: npm
cache-dependency-path: package-lock.json
- name: Install dependencies
Expand Down Expand Up @@ -1307,7 +1307,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: .nvmrc
node-version-file: .node-version
cache: npm
cache-dependency-path: package-lock.json
- name: Install dependencies
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/.static-type-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: api-node/.nvmrc
node-version-file: api-node/.node-version
cache: npm
cache-dependency-path: api-node/package-lock.json
- name: Install dependencies
Expand All @@ -246,7 +246,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: ethereum/.nvmrc
node-version-file: ethereum/.node-version
cache: npm
cache-dependency-path: ethereum/package-lock.json
- name: Install dependencies
Expand All @@ -271,7 +271,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: data-visualization/grafana/hm-panel-plugin/.nvmrc
node-version-file: data-visualization/grafana/hm-panel-plugin/.node-version
cache: npm
cache-dependency-path: data-visualization/grafana/hm-panel-plugin/package-lock.json
- name: Install dependencies
Expand All @@ -296,7 +296,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: mobile/mobile-react-native/.nvmrc
node-version-file: mobile/mobile-react-native/.node-version
cache: npm
cache-dependency-path: mobile/mobile-react-native/package-lock.json
- name: Install dependencies
Expand All @@ -321,7 +321,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: web/.nvmrc
node-version-file: web/.node-version
cache: npm
cache-dependency-path: web/package-lock.json
- name: Install dependencies
Expand All @@ -346,7 +346,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: web-cypress/.nvmrc
node-version-file: web-cypress/.node-version
cache: npm
cache-dependency-path: web-cypress/package-lock.json
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: web/.nvmrc
node-version-file: web/.node-version
cache: npm
cache-dependency-path: web/package-lock.json
- name: Build web
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: .nvmrc
node-version-file: .node-version
cache: npm
cache-dependency-path: package-lock.json
- name: Set up Qt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: .nvmrc
node-version-file: .node-version
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: web/.nvmrc
node-version-file: web/.node-version
cache: npm
cache-dependency-path: web/package-lock.json
- name: Install dependencies
Expand Down Expand Up @@ -427,7 +427,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: web-cypress/.nvmrc
node-version-file: web-cypress/.node-version
cache: npm
cache-dependency-path: web-cypress/package-lock.json
- name: Install dependencies
Expand Down Expand Up @@ -467,7 +467,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: web/.nvmrc
node-version-file: web/.node-version
cache: npm
cache-dependency-path: web/package-lock.json
- name: Install dependencies
Expand Down Expand Up @@ -502,7 +502,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: web/.nvmrc
node-version-file: web/.node-version
cache: npm
cache-dependency-path: web/package-lock.json
- name: Install dependencies
Expand Down Expand Up @@ -653,7 +653,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: mobile/mobile-react-native/.nvmrc
node-version-file: mobile/mobile-react-native/.node-version
cache: npm
cache-dependency-path: mobile/mobile-react-native/package-lock.json
- name: Install dependencies
Expand Down Expand Up @@ -706,7 +706,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: api-node/.nvmrc
node-version-file: api-node/.node-version
cache: npm
cache-dependency-path: api-node/package-lock.json
- name: Install dependencies
Expand Down Expand Up @@ -735,7 +735,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: api-node/.nvmrc
node-version-file: api-node/.node-version
cache: npm
cache-dependency-path: api-node/package-lock.json
- name: Install dependencies
Expand Down Expand Up @@ -3055,7 +3055,7 @@ jobs:
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: data-visualization/grafana/hm-panel-plugin/.nvmrc
node-version-file: data-visualization/grafana/hm-panel-plugin/.node-version
cache: npm
cache-dependency-path: data-visualization/grafana/hm-panel-plugin/package-lock.json
- name: Install dependencies
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0e6d582

Please sign in to comment.