Skip to content

Commit b9da7a8

Browse files
committed
commit bundle
1 parent bfa8d60 commit b9da7a8

File tree

6 files changed

+167
-42
lines changed

6 files changed

+167
-42
lines changed

.vscode/launch.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,46 @@
1010
"args": ["@github/local-action", ".", "src/main.ts", ".env"],
1111
"console": "integratedTerminal",
1212
"skipFiles": ["<node_internals>/**", "node_modules/**"]
13+
},
14+
{
15+
"name": "Debug Jest",
16+
"type": "node",
17+
"request": "launch",
18+
"runtimeExecutable": "npx",
19+
"cwd": "${workspaceRoot}",
20+
"args": ["jest", "--runInBand", "--watchAll", "--no-cache"],
21+
"console": "integratedTerminal",
22+
"skipFiles": ["<node_internals>/**", "node_modules/**"]
23+
},
24+
{
25+
"name": "Debug Jest Current File",
26+
"type": "node",
27+
"request": "launch",
28+
"runtimeExecutable": "npx",
29+
"cwd": "${workspaceRoot}",
30+
"args": ["jest", "--runInBand", "--no-cache", "${file}"],
31+
"console": "integratedTerminal",
32+
"skipFiles": ["<node_internals>/**", "node_modules/**"]
33+
},
34+
{
35+
"type": "node",
36+
"name": "vscode-jest-tests.v2",
37+
"request": "launch",
38+
"program": "${workspaceFolder}/node_modules/.bin/jest",
39+
"args": [
40+
"--runInBand",
41+
"--watchAll=false",
42+
"--testNamePattern",
43+
"${jest.testNamePattern}",
44+
"--runTestsByPath",
45+
"${jest.testFile}"
46+
],
47+
"cwd": "${workspaceFolder}",
48+
"console": "integratedTerminal",
49+
"internalConsoleOptions": "neverOpen",
50+
"windows": {
51+
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
52+
}
1353
}
1454
]
1555
}

action.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,15 @@ inputs:
2222
description: Files to check, can be used to only check git modified files.
2323
required: false
2424
allRulesMustHit:
25-
description: Wether all rules must hit for the action to pass. Do not use when using files input to check only modified files.
25+
description:
26+
Wether all rules must hit for the action to pass. Do not use when using
27+
files input to check only modified files.
2628
required: false
2729
default: 'false'
2830
codeownersContent:
29-
description: The content of the CODEOWNERS file. If not provided, the action will look for a CODEOWNERS file in the repository.
31+
description:
32+
The content of the CODEOWNERS file. If not provided, the action will look
33+
for a CODEOWNERS file in the repository.
3034
required: false
3135

3236
# Define your outputs here.

badges/coverage.svg

Lines changed: 1 addition & 1 deletion
Loading

dist/index.js

Lines changed: 117 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.d.ts

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)