/
launch.json
45 lines (45 loc) · 1.68 KB
/
launch.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Vitest: Current Test File",
"autoAttachChildProcesses": true,
"skipFiles": [],
"program": "${fileWorkspaceFolder}/node_modules/vitest/vitest.mjs",
"args": ["run", "--test-timeout=600000", "${fileBasenameNoExtension}"],
"cwd": "${workspaceFolder}/action-src",
"smartStep": true,
"console": "integratedTerminal"
},
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}/action/lib/main_root.cjs",
"cwd": "${workspaceFolder}",
"env": {
"GITHUB_EVENT_PATH": "./fixtures/pull_request_payload.json",
"GITHUB_EVENT_NAME": "pull_request",
"GITHUB_SHA": "fac78ee45538f198c00ae651db5aedc7336f7ccc",
"GITHUB_REF": "refs/pull/3/merge",
"GITHUB_WORKFLOW": "build-test",
"GITHUB_ACTION": "self",
"GITHUB_ACTOR": "Jason3S",
"GITHUB_JOB": "test-action",
"GITHUB_RUN_NUMBER": "97",
"GITHUB_RUN_ID": "421485606"
},
"outFiles": [
"${workspaceFolder}/action/**/*.cjs"
]
}
]
}