Skip to content

Commit 62bee67

Browse files
authored
ci(tweak): centralize node version (#5770)
* ci(tweak): centralize node version * fix: specify chrome versionn * fix: specify chrome versionn * fix: specify chrome versionn * fix: specify chrome versionn * fix: specify chrome versionn * fix: specify chrome versionn * fix: wait for selenium server starts * fix: wait for selenium server starts * Update .nvmrc * fix: wait for selenium server starts * address PR
1 parent 0597db8 commit 62bee67

15 files changed

Lines changed: 41 additions & 63 deletions

‎.github/workflows/appium_Android.yml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,15 @@ jobs:
2828

2929
strategy:
3030
matrix:
31-
node-version: [22.x]
3231
test-suite: ['other', 'quick']
3332

3433
steps:
3534
- uses: actions/checkout@v6
3635

37-
- name: Use Node.js ${{ matrix.node-version }}
36+
- name: Use Node.js
3837
uses: actions/setup-node@v6
3938
with:
40-
node-version: ${{ matrix.node-version }}
39+
node-version-file: '.nvmrc'
4140

4241
- run: npm i
4342
env:

‎.github/workflows/appium_iOS.yml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,14 @@ jobs:
2424

2525
strategy:
2626
matrix:
27-
node-version: [22.x]
2827
test-suite: ['other', 'quick']
2928

3029
steps:
3130
- uses: actions/checkout@v6
32-
- name: Use Node.js ${{ matrix.node-version }}
31+
- name: Use Node.js
3332
uses: actions/setup-node@v6
3433
with:
35-
node-version: ${{ matrix.node-version }}
34+
node-version-file: '.nvmrc'
3635
- run: npm i --force
3736
env:
3837
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true

‎.github/workflows/doc-generation.yml‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,14 @@ jobs:
1313
update-documentation:
1414
runs-on: ubuntu-22.04
1515

16-
strategy:
17-
matrix:
18-
node-version: [22.x]
19-
2016
steps:
2117
- name: Check out the repo
2218
uses: actions/checkout@v6
2319

24-
- name: Use Node.js ${{ matrix.node-version }}
20+
- name: Use Node.js
2521
uses: actions/setup-node@v6
2622
with:
27-
node-version: ${{ matrix.node-version }}
23+
node-version-file: '.nvmrc'
2824

2925
- uses: oven-sh/setup-bun@v2
3026

‎.github/workflows/dtslint.yml‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,13 @@ jobs:
1616
test:
1717
runs-on: ubuntu-22.04
1818
strategy:
19-
matrix:
20-
node-version: [22.x]
19+
matrix: {}
2120
steps:
2221
- uses: actions/checkout@v6
23-
- name: Use Node.js ${{ matrix.node-version }}
22+
- name: Use Node.js
2423
uses: actions/setup-node@v6
2524
with:
26-
node-version: ${{ matrix.node-version }}
25+
node-version-file: '.nvmrc'
2726
- uses: oven-sh/setup-bun@v2
2827
- run: npm i --force
2928
env:

‎.github/workflows/lightpanda.yml‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,14 @@ jobs:
2525
runs-on: ubuntu-22.04
2626
timeout-minutes: 15
2727

28-
strategy:
29-
matrix:
30-
node-version: [22.x]
31-
3228
steps:
3329
- uses: actions/checkout@v6
3430
with:
3531
persist-credentials: false
36-
- name: Use Node.js ${{ matrix.node-version }}
32+
- name: Use Node.js
3733
uses: actions/setup-node@v6
3834
with:
39-
node-version: ${{ matrix.node-version }}
35+
node-version-file: '.nvmrc'
4036
- uses: shivammathur/setup-php@v2
4137
with:
4238
php-version: 8.0

‎.github/workflows/moli.yml‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,14 @@ jobs:
2626
runs-on: ubuntu-22.04
2727
timeout-minutes: 15
2828

29-
strategy:
30-
matrix:
31-
node-version: [22.x]
32-
3329
steps:
3430
- uses: actions/checkout@v6
3531
with:
3632
persist-credentials: false
37-
- name: Use Node.js ${{ matrix.node-version }}
33+
- name: Use Node.js
3834
uses: actions/setup-node@v6
3935
with:
40-
node-version: ${{ matrix.node-version }}
36+
node-version-file: '.nvmrc'
4137
- uses: shivammathur/setup-php@v2
4238
with:
4339
php-version: 8.0

‎.github/workflows/obscura.yml‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,14 @@ jobs:
2626
runs-on: ubuntu-22.04
2727
timeout-minutes: 15
2828

29-
strategy:
30-
matrix:
31-
node-version: [22.x]
32-
3329
steps:
3430
- uses: actions/checkout@v6
3531
with:
3632
persist-credentials: false
37-
- name: Use Node.js ${{ matrix.node-version }}
33+
- name: Use Node.js
3834
uses: actions/setup-node@v6
3935
with:
40-
node-version: ${{ matrix.node-version }}
36+
node-version-file: '.nvmrc'
4137
- uses: shivammathur/setup-php@v2
4238
with:
4339
php-version: 8.0

‎.github/workflows/playwright.yml‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,12 @@ jobs:
2222
runs-on: ubuntu-latest
2323
timeout-minutes: 30
2424

25-
strategy:
26-
matrix:
27-
node-version: [22.x]
28-
2925
steps:
3026
- uses: actions/checkout@v6
31-
- name: Use Node.js ${{ matrix.node-version }}
27+
- name: Use Node.js
3228
uses: actions/setup-node@v6
3329
with:
34-
node-version: ${{ matrix.node-version }}
30+
node-version-file: '.nvmrc'
3531
- uses: shivammathur/setup-php@v2
3632
with:
3733
php-version: 7.4

‎.github/workflows/plugin.yml‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,12 @@ jobs:
2222
runs-on: ubuntu-22.04
2323
timeout-minutes: 20
2424

25-
strategy:
26-
matrix:
27-
node-version: [22.x]
28-
2925
steps:
3026
- uses: actions/checkout@v6
31-
- name: Use Node.js ${{ matrix.node-version }}
27+
- name: Use Node.js
3228
uses: actions/setup-node@v6
3329
with:
34-
node-version: ${{ matrix.node-version }}
30+
node-version-file: '.nvmrc'
3531
- uses: shivammathur/setup-php@v2
3632
with:
3733
php-version: 7.4

‎.github/workflows/publish-beta.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: actions/setup-node@v6
2121
with:
22-
node-version: 24
22+
node-version-file: '.nvmrc'
2323
registry-url: 'https://registry.npmjs.org'
2424

2525
- uses: oven-sh/setup-bun@v2

0 commit comments

Comments
 (0)