Skip to content

Commit 9241a64

Browse files
authored
Switch from danger to risk, node v24 (DefinitelyTyped#74569)
1 parent 133ee1f commit 9241a64

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/actions/setup-for-scripts/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ runs:
66
steps:
77
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
88
with:
9-
node-version: '20'
9+
node-version: '24'
1010
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
1111
with:
1212
run_install: |

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
fetch-depth: 0 # Default is 1; need to set to 0 to get the benefits of blob:none.
3838
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
3939
with:
40-
node-version: '20'
40+
node-version: '24'
4141

4242
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
4343

@@ -69,7 +69,7 @@ jobs:
6969
fetch-depth: 0 # Default is 1; need to set to 0 to get the benefits of blob:none.
7070
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
7171
with:
72-
node-version: '20'
72+
node-version: '24'
7373

7474
# forbid symlinks
7575
- name: 'Pre-run validation'

.github/workflows/pnpm-cache.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1515
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
1616
with:
17-
node-version: '20'
17+
node-version: '24'
1818
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
1919

2020
- name: Get pnpm cache info

dangerfile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { mangleScopedPackage, suggestionsDir } from "@definitelytyped/utils";
2-
import { danger, fail, markdown } from "danger";
32
import cp from "node:child_process";
43
import fs from "node:fs";
54
import os from "node:os";
65
import path from "node:path";
6+
import { danger, fail, markdown } from "risk";
77
const lines: string[] = [];
88
const missingProperty = /module exports a property named '(.+?)', which is missing/;
99

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@
3636
"@definitelytyped/header-parser": "latest",
3737
"@definitelytyped/typescript-versions": "latest",
3838
"@definitelytyped/utils": "latest",
39-
"danger": "^13.0.5",
4039
"dprint": "^0.49.0",
4140
"eslint-plugin-jsdoc": "^44.2.7",
4241
"husky": "^8.0.3",
4342
"lint-staged": "^15.2.0",
4443
"remark-cli": "^12.0.0",
4544
"remark-gfm": "^4.0.0",
4645
"remark-validate-links": "^13.0.0",
46+
"risk": "^0.0.4",
4747
"typescript": "next"
4848
},
4949
"type": "module"

0 commit comments

Comments
 (0)