Skip to content

Commit 35b212a

Browse files
committed
upgrade node on CI to v24
1 parent 8f57e17 commit 35b212a

7 files changed

Lines changed: 27 additions & 27 deletions

File tree

.github/workflows/CI-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
node-version: [18.x]
10+
node-version: [24.x]
1111
env:
12-
NODE_OPTIONS: '--max_old_space_size=4096'
12+
NODE_OPTIONS: "--max_old_space_size=4096"
1313
steps:
1414
- name: Checkout code
1515
uses: actions/checkout@v4
@@ -18,8 +18,8 @@ jobs:
1818
uses: actions/setup-node@v4
1919
with:
2020
node-version: ${{ matrix.node-version }}
21-
cache: 'npm'
22-
cache-dependency-path: '**/package-lock.json'
21+
cache: "npm"
22+
cache-dependency-path: "**/package-lock.json"
2323

2424
- name: Install dependencies
2525
run: npm ci

.github/workflows/CI-e2e.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
node-version: [18.x]
11+
node-version: [24.x]
1212
test: [1, 2, 3, 4, 5]
1313
env:
14-
NODE_OPTIONS: '--max_old_space_size=4096'
14+
NODE_OPTIONS: "--max_old_space_size=4096"
1515
steps:
1616
- name: Checkout code
1717
uses: actions/checkout@v4
@@ -20,8 +20,8 @@ jobs:
2020
uses: actions/setup-node@v4
2121
with:
2222
node-version: ${{ matrix.node-version }}
23-
cache: 'npm'
24-
cache-dependency-path: '**/package-lock.json'
23+
cache: "npm"
24+
cache-dependency-path: "**/package-lock.json"
2525

2626
- name: Install dependencies
2727
run: npm ci

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ on:
77
- main
88

99
env:
10-
NODE_VERSION: 18.x
10+
NODE_VERSION: 24.x
1111

1212
jobs:
1313
deploy:
1414
runs-on: ubuntu-latest
1515
env:
16-
NODE_OPTIONS: '--max_old_space_size=4096'
16+
NODE_OPTIONS: "--max_old_space_size=4096"
1717
steps:
1818
- name: Generate Github Token for CI Bot
1919
uses: actions/create-github-app-token@v1
@@ -31,8 +31,8 @@ jobs:
3131
uses: actions/setup-node@v4
3232
with:
3333
node-version: ${{ env.NODE_VERSION }}
34-
cache: 'npm'
35-
cache-dependency-path: '**/package-lock.json'
34+
cache: "npm"
35+
cache-dependency-path: "**/package-lock.json"
3636

3737
- name: Install dependencies
3838
run: npm ci

.github/workflows/i18n-update-pull.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
env:
88
LOKALISE_PROJECT_ID: ${{ vars.LOKALISE_PROJECT_ID }}
99
LOKALISE_API_TOKEN: ${{ secrets.LOKALISE_API_TOKEN }}
10-
NODE_VERSION: 18.x
10+
NODE_VERSION: 24.x
1111
CI: true
1212

1313
jobs:
@@ -91,8 +91,8 @@ jobs:
9191
uses: actions/setup-node@v4
9292
with:
9393
node-version: ${{ env.NODE_VERSION }}
94-
cache: 'npm'
95-
cache-dependency-path: '**/package-lock.json'
94+
cache: "npm"
95+
cache-dependency-path: "**/package-lock.json"
9696

9797
- name: Install dependencies
9898
run: npm ci

.github/workflows/i18n-update-push.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
env:
88
LOKALISE_PROJECT_ID: ${{ vars.LOKALISE_PROJECT_ID }}
99
LOKALISE_API_TOKEN: ${{ secrets.LOKALISE_API_TOKEN }}
10-
NODE_VERSION: 18.x
10+
NODE_VERSION: 24.x
1111
CI: true
1212

1313
jobs:
@@ -91,8 +91,8 @@ jobs:
9191
uses: actions/setup-node@v4
9292
with:
9393
node-version: ${{ env.NODE_VERSION }}
94-
cache: 'npm'
95-
cache-dependency-path: '**/package-lock.json'
94+
cache: "npm"
95+
cache-dependency-path: "**/package-lock.json"
9696

9797
- name: Install dependencies
9898
run: npm ci
@@ -136,7 +136,7 @@ jobs:
136136
| **New Branch for i18n** | [\`${process.env.NEW_BRANCH}\`](${branchURL}) |
137137
| **Last Commit SHA** | ${process.env.LAST_COMMIT_SHA} |
138138
139-
Maintainers can comment \`.i18n-update-pull\` after translation is done to trigger the i18n pull workflow and pull the changes back to Github.
139+
Maintainers can comment \`.i18n-update-pull\` after translation is done to trigger the i18n pull workflow and pull the changes back to Github.
140140
`;
141141
142142
github.rest.issues.createComment({

.github/workflows/i18n-update-scheduled.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: i18n-update-scheduled
55

66
on:
77
schedule:
8-
- cron: '0 0 * * 0'
8+
- cron: "0 0 * * 0"
99
push:
1010
branches:
1111
- develop
@@ -16,7 +16,7 @@ env:
1616
LOKALISE_API_TOKEN: ${{ secrets.LOKALISE_API_TOKEN }}
1717
BRANCH: i18n/develop
1818
LOKALISE_BRANCH: master
19-
NODE_VERSION: 18.x
19+
NODE_VERSION: 24.x
2020
CI: true
2121

2222
jobs:
@@ -55,8 +55,8 @@ jobs:
5555
uses: actions/setup-node@v4
5656
with:
5757
node-version: ${{ env.NODE_VERSION }}
58-
cache: 'npm'
59-
cache-dependency-path: '**/package-lock.json'
58+
cache: "npm"
59+
cache-dependency-path: "**/package-lock.json"
6060

6161
- name: Install dependencies
6262
run: npm ci

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ on:
77
types: [closed]
88

99
env:
10-
NODE_VERSION: 18.x
10+
NODE_VERSION: 24.x
1111

1212
jobs:
1313
release:
1414
runs-on: ubuntu-latest
1515
if: github.event.pull_request.merged && startsWith(github.head_ref, 'releases/')
1616
env:
17-
NODE_OPTIONS: '--max_old_space_size=4096'
17+
NODE_OPTIONS: "--max_old_space_size=4096"
1818
steps:
1919
- name: Generate Github Token for CI Bot
2020
uses: actions/create-github-app-token@v1
@@ -36,8 +36,8 @@ jobs:
3636
uses: actions/setup-node@v4
3737
with:
3838
node-version: ${{ env.NODE_VERSION }}
39-
cache: 'npm'
40-
cache-dependency-path: '**/package-lock.json'
39+
cache: "npm"
40+
cache-dependency-path: "**/package-lock.json"
4141

4242
- name: Install dependencies
4343
run: npm ci

0 commit comments

Comments
 (0)