Merge branch 'main' into codeql_search_path
This commit is contained in:
commit
7bb6ac6c60
2 changed files with 27 additions and 0 deletions
25
.vscode/launch.json
vendored
Normal file
25
.vscode/launch.json
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
{
|
||||||
|
// 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": "Debug AVA test file",
|
||||||
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/ava",
|
||||||
|
"runtimeArgs": [
|
||||||
|
"${file}",
|
||||||
|
"--break",
|
||||||
|
"--serial",
|
||||||
|
"--timeout=20m"
|
||||||
|
],
|
||||||
|
"port": 9229,
|
||||||
|
"outputCapture": "std",
|
||||||
|
"skipFiles": [
|
||||||
|
"<node_internals>/**/*.js"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -20,6 +20,8 @@ Before you start, ensure that you have a recent version of node installed. You c
|
||||||
* Run tests: `npm run test`. You’ll need to ensure that the JavaScript files are up-to-date first by running the command above.
|
* Run tests: `npm run test`. You’ll need to ensure that the JavaScript files are up-to-date first by running the command above.
|
||||||
* Run the linter: `npm run lint`.
|
* Run the linter: `npm run lint`.
|
||||||
|
|
||||||
|
This project also includes configuration to run tests from VSCode (with support for breakpoints) - open the test file you wish to run and choose "Debug AVA test file" from the Run menu in the Run panel.
|
||||||
|
|
||||||
### Running the action
|
### Running the action
|
||||||
|
|
||||||
To see the effect of your changes and to test them, push your changes in a branch and then look at the [Actions output](https://github.com/github/codeql-action/actions) for that branch. You can also exercise the code locally by running the automated tests.
|
To see the effect of your changes and to test them, push your changes in a branch and then look at the [Actions output](https://github.com/github/codeql-action/actions) for that branch. You can also exercise the code locally by running the automated tests.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue