Merge pull request #363 from TwitchBronBron/continuous-integration
This commit is contained in:
commit
dacb4dcda2
13
.github/workflows/build.yml
vendored
Normal file
13
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
name: build
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-node@master
|
||||
with:
|
||||
node-version: "14.12.0"
|
||||
- run: npm ci
|
||||
- run: npm run validate
|
10
bsconfig.json
Normal file
10
bsconfig.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"files": [
|
||||
"manifest",
|
||||
"source/**/*.*",
|
||||
"components/**/*.*",
|
||||
"images/**/*.*",
|
||||
"resources/**/*.*",
|
||||
"locale/**/*.*"
|
||||
]
|
||||
}
|
|
@ -10,7 +10,6 @@
|
|||
<field id="overview" type="string" />
|
||||
<field id="type" type="string" value="Episode" />
|
||||
<field id="json" type="assocarray" onChange="setFields" />
|
||||
<function name="loadSeasons" />
|
||||
</interface>
|
||||
<script type="text/brightscript" uri="TVEpisodeData.brs" />
|
||||
</component>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
<field id="posterURL" type="string" />
|
||||
<field id="overview" type="string" />
|
||||
<field id="json" type="assocarray" onChange="setFields" />
|
||||
<function name="getPoster" />
|
||||
</interface>
|
||||
<script type="text/brightscript" uri="TVSeasonData.brs" />
|
||||
</component>
|
||||
|
|
1626
package-lock.json
generated
1626
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
@ -6,11 +6,12 @@
|
|||
"directories": {
|
||||
"test": "tests"
|
||||
},
|
||||
"dependencies": {
|
||||
"devDependencies": {
|
||||
"brighterscript": "^0.30.1",
|
||||
"rooibos-cli": "^1.0.1"
|
||||
},
|
||||
"devDependencies": {},
|
||||
"scripts": {
|
||||
"validate": "npx bsc --copy-to-staging=false --create-package=false",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
sub Main()
|
||||
|
||||
' If the Rooibos files are included in deployment, run tests
|
||||
'bs:disable-next-line
|
||||
if (type(Rooibos__Init) = "Function") then Rooibos__Init()
|
||||
|
||||
' The main function that runs when the application is launched.
|
||||
|
|
Loading…
Reference in New Issue
Block a user