Skip to content
Merged
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
9 changes: 9 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copy this file to `.env` and fill in the connection info for a real Roku device.
# The device test suite (`npm run test:device`) reads these to know which device to target.
# `.env` is gitignored so your device credentials never get committed.

# IP address or hostname of the Roku device to run the device tests against
ROKU_HOST=192.168.1.31

# Developer password for that device (set when you enabled developer mode)
ROKU_PASSWORD=aaaa
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ module.exports = {
'error',
'always'
],
'@typescript-eslint/parameter-properties': 'off',
'@typescript-eslint/prefer-readonly': 'off',
'@typescript-eslint/prefer-readonly-parameter-types': 'off',
'@typescript-eslint/promise-function-async': 'off',
Expand Down Expand Up @@ -111,6 +112,7 @@ module.exports = {
'no-constant-condition': 'off',
'no-console': 'off',
'no-continue': 'off',
'no-duplicate-imports': 'off',
'no-else-return': 'off',
'no-empty': 'off',
'no-implicit-coercion': 'off',
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/on-device-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: on-device-tests
on:
push:
branches:
- master
pull_request:

jobs:
on-device-tests:
runs-on: [self-hosted, roku-latest, enabled]
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: "18.20.4"
- run: npm ci
- run: npm run test:device
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ out
.roku-deploy-staging
coverage
.nyc_output
*.zip
*.zip
.env
5 changes: 3 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
"**/bower_components": true,
"**/*.code-search": true,
"**/dist": true
}
}
},
"js/ts.tsdk.path": "node_modules/typescript/lib"
}
Loading
Loading