Skip to content

Commit 9dc16e8

Browse files
authored
chore: add .nvmrc
1 parent 8c9fce2 commit 9dc16e8

File tree

6 files changed

+13
-9
lines changed

6 files changed

+13
-9
lines changed

.github/workflows/deprecate.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,13 @@ jobs:
2222
runs-on: ubuntu-latest
2323

2424
steps:
25+
- name: Checkout code
26+
uses: actions/checkout@v4
27+
2528
- name: Setup Node.js
2629
uses: actions/setup-node@v4
2730
with:
28-
node-version: '20.x'
31+
node-version-file: '.nvmrc'
2932
registry-url: 'https://registry.npmjs.org'
3033

3134
- name: Deprecate version

.github/workflows/e2e_pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
token: ${{ secrets.GITHUB_TOKEN }}
1919

2020
- name: Setup Node.js
21-
uses: actions/setup-node@v3
21+
uses: actions/setup-node@v4
2222
with:
23-
node-version: '20.x'
23+
node-version-file: '.nvmrc'
2424
registry-url: 'https://registry.npmjs.org'
2525

2626
- name: NPM Install

.github/workflows/purge-jsdelivr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Node.js
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: '20.x'
23+
node-version-file: '.nvmrc'
2424

2525
- name: Install dependencies
2626
run: npm ci

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
- uses: actions/setup-node@v4
4141
with:
42-
node-version: '24.x'
42+
node-version-file: '.nvmrc'
4343
registry-url: 'https://registry.npmjs.org'
4444

4545
- run: npm ci
@@ -102,7 +102,7 @@ jobs:
102102

103103
- uses: actions/setup-node@v4
104104
with:
105-
node-version: '24.x'
105+
node-version-file: '.nvmrc'
106106
registry-url: 'https://registry.npmjs.org'
107107

108108
- name: Get version from package.json
@@ -192,7 +192,7 @@ jobs:
192192

193193
- uses: actions/setup-node@v4
194194
with:
195-
node-version: '24.x'
195+
node-version-file: '.nvmrc'
196196

197197
- run: npm ci
198198

@@ -348,7 +348,7 @@ jobs:
348348

349349
- uses: actions/setup-node@v4
350350
with:
351-
node-version: '24.x'
351+
node-version-file: '.nvmrc'
352352
registry-url: 'https://registry.npmjs.org'
353353

354354
- run: npm ci

.github/workflows/validate.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
1515
uses: actions/setup-node@v4
1616
with:
17-
node-version: '24.x'
17+
node-version-file: '.nvmrc'
1818
registry-url: 'https://registry.npmjs.org'
1919

2020
- name: Install dependencies

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
24

0 commit comments

Comments
 (0)