-
-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1565 from jellyfin/unstable
- Loading branch information
Showing
672 changed files
with
97,192 additions
and
40,554 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @jellyfin/roku |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
changelog: | ||
categories: | ||
- title: 🆕 New Features | ||
labels: | ||
- "new-feature" | ||
- title: ⚙️ New Settings | ||
labels: | ||
- "new-setting" | ||
- title: 🔧 General Improvements | ||
labels: | ||
- "general-improvement" | ||
- title: 🐛 Bug Fixes | ||
labels: | ||
- "bug-fix" | ||
- title: 🧹 Code Cleanup | ||
labels: | ||
- "code-cleanup" | ||
- title: 💻 Dev Improvements | ||
labels: | ||
- "dev-improvement" | ||
- title: 📝 Documentation | ||
labels: | ||
- "documentation" | ||
- title: ⭐ Additional Updates | ||
labels: | ||
- "*" | ||
exclude: | ||
labels: | ||
- dependencies | ||
- ignore-changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: build-docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- unstable | ||
|
||
jobs: | ||
docs: | ||
if: github.repository == 'jellyfin/jellyfin-roku' | ||
runs-on: ubuntu-latest | ||
permissions: | ||
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository. | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
token: ${{ secrets.JF_BOT_TOKEN }} | ||
- name: Install NPM dependencies | ||
run: npm ci | ||
- name: Build API docs | ||
# TODO: fix jsdoc build errors then remove '|| true' from run command below | ||
run: npm run docs || true | ||
- name: Commit any changes back to the unstable branch | ||
uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5 | ||
with: | ||
commit_message: Update API docs | ||
# use jellyfin-bot to commit the changes instead of the default github-actions[bot] | ||
commit_user_name: jellyfin-bot | ||
commit_user_email: [email protected] | ||
# use jellyfin-bot to author the changes instead of the default author of the merge commit | ||
commit_author: jellyfin-bot <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Simple workflow for deploying static content to GitHub Pages | ||
name: deploy-api-docs | ||
|
||
on: | ||
push: | ||
branches: ["unstable"] | ||
paths: ["docs/**"] # only run if the docs are updated | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
deploy: | ||
if: github.repository == 'jellyfin/jellyfin-roku' | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | ||
- name: Setup Pages | ||
uses: actions/configure-pages@1f0c5cde4bc74cd7e1254d0cb4de8d49e9068c7d # v4 | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@a753861a5debcf57bf8b404356158c8e1e33150c # v2 | ||
with: | ||
# Only upload the api docs folder | ||
path: "docs/api" | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@77d7344265e1f960dab5c00dbff52287a70b0d4f # v3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: roku-analysis | ||
|
||
on: | ||
pull_request: | ||
push: | ||
|
||
env: | ||
BRANCH_NAME: ${{ github.head_ref || github.ref_name }} | ||
|
||
jobs: | ||
static: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | ||
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4 | ||
with: | ||
node-version: "lts/*" | ||
cache: "npm" | ||
- name: NPM install | ||
run: npm ci | ||
- name: Install roku module dependencies | ||
run: npm run ropm | ||
- name: Build dev app | ||
if: env.BRANCH_NAME != 'master' | ||
run: npm run build | ||
- name: Build app for production | ||
if: env.BRANCH_NAME == 'master' | ||
run: npm run build-prod | ||
- name: Use Java 17 | ||
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4 | ||
with: | ||
distribution: "temurin" | ||
java-version: "17" | ||
- name: Download the Static Channel Analysis CLI | ||
run: | | ||
curl -sSL "https://devtools.web.roku.com/static-channel-analysis/sca-cmd.zip" -o sca-cmd.zip | ||
unzip sca-cmd.zip | ||
- name: Run Roku Static Analysis | ||
run: ./sca-cmd/bin/sca-cmd ${{ github.workspace }}/build/staging --exit error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
*.svg | ||
jellyfin-roku.zip | ||
source/globals.brs | ||
.env | ||
|
||
###BrightScript specific | ||
# BrightScript | ||
dist/apps | ||
out/ | ||
|
||
build/ | ||
roku_modules | ||
|
||
#NPM modules | ||
source/globals.brs | ||
jellyfin-roku.zip | ||
# Rooibos | ||
bsconfig-tdd.json | ||
# NPM | ||
node_modules/ | ||
|
||
#Eclipse | ||
# Eclipse | ||
.buildpath | ||
.project | ||
.settings |
Oops, something went wrong.