Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: build
on:
push:
branches:
- master
pull_request:

jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: "16.20.2"
- run: npm ci
- run: npm run build
- run: npm run test
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ node_modules
roku_modules
out
dist
.nyc_output
coverage
.env
23 changes: 22 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,27 @@
// "debugServer": 4711,
"stopDebuggerOnAppExit": true,
"enableDebugProtocol": true
}
},
{
"name": "Debug Tests",
"type": "pwa-node",
"request": "launch",
"smartStep": true,
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"sourceMaps": true,
"args": [
"--timeout",
"987654"
],
"skipFiles": [
"${workspaceFolder}/node_modules/**/*.js",
"<node_internals>/**/*.js"
],
"cwd": "${workspaceRoot}",
"internalConsoleOptions": "openOnSessionStart",
"resolveSourceMapLocations": [
"${workspaceFolder}/**"
]
},
]
}
6 changes: 6 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
"label": "benchmark",
"type": "shell",
"command": "npm run benchmark -- --host 192.168.1.33 --password aaaa",
"problemMatcher": []
},
{
"label": "benchmark",
"type": "shell",
"command": "npm run test:nocover",
"problemMatcher": [],
"group": {
"kind": "test",
Expand Down
Loading