Skip to content

Commit dd500cd

Browse files
chore: jest and workflow upgrades
1 parent ffe3e01 commit dd500cd

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/copy-build-to-d2-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up Node.js
2828
uses: actions/setup-node@v4
2929
with:
30-
node-version: '20.x'
30+
node-version: '24.x'
3131

3232
- name: Install dependencies
3333
run: yarn install --frozen-lockfile

.github/workflows/dhis2-verify-commits.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v4
1212
- uses: actions/setup-node@v4
1313
with:
14-
node-version: 20.x
14+
node-version: 24.x
1515

1616
- name: Install dependencies
1717
run: yarn install --frozen-lockfile

.github/workflows/node-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
token: ${{env.GH_TOKEN}}
3333
- uses: actions/setup-node@v4
3434
with:
35-
node-version: 20.x
35+
node-version: 24.x
3636

3737
- name: Install
3838
run: yarn install --frozen-lockfile

.github/workflows/node-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v4
1111
- uses: actions/setup-node@v4
1212
with:
13-
node-version: 20.x
13+
node-version: 24.x
1414

1515
- name: Install
1616
run: yarn install --frozen-lockfile

config/setupJest.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
if (globalThis.CSS === undefined) {
2-
globalThis.CSS = { supports: () => false }
3-
} else if (typeof globalThis.CSS.supports !== 'function') {
4-
globalThis.CSS.supports = () => false
1+
if (global.CSS === undefined) {
2+
global.CSS = { supports: () => false }
3+
} else if (typeof global.CSS.supports !== 'function') {
4+
global.CSS.supports = () => false
55
}

0 commit comments

Comments
 (0)