2023-05-03 21:21:04 +00:00
|
|
|
name: build-dev
|
2023-02-25 18:29:04 +00:00
|
|
|
|
2022-09-03 12:08:45 +00:00
|
|
|
on:
|
|
|
|
pull_request:
|
2023-03-06 01:12:01 +00:00
|
|
|
push:
|
|
|
|
branches:
|
2023-12-16 01:47:11 +00:00
|
|
|
- master
|
|
|
|
- "*.*.z"
|
2023-02-25 18:29:04 +00:00
|
|
|
|
2022-09-03 12:08:45 +00:00
|
|
|
jobs:
|
2023-02-25 18:29:04 +00:00
|
|
|
dev:
|
2023-02-22 18:34:38 +00:00
|
|
|
runs-on: ubuntu-latest
|
2022-09-03 12:08:45 +00:00
|
|
|
steps:
|
2023-10-27 02:46:04 +00:00
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
|
2023-10-27 02:47:37 +00:00
|
|
|
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4
|
2022-09-03 12:08:45 +00:00
|
|
|
with:
|
2023-02-22 18:34:38 +00:00
|
|
|
node-version: "lts/*"
|
|
|
|
cache: "npm"
|
2023-05-03 21:21:04 +00:00
|
|
|
- name: NPM install
|
|
|
|
run: npm ci
|
|
|
|
- name: Install roku module dependencies
|
2023-06-23 17:09:36 +00:00
|
|
|
run: npm run ropm
|
2023-05-03 21:21:04 +00:00
|
|
|
- name: Build app
|
|
|
|
run: npm run build
|
2023-12-18 00:01:23 +00:00
|
|
|
- uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4
|
2022-09-03 12:08:45 +00:00
|
|
|
with:
|
|
|
|
name: Jellyfin-Roku-dev-${{ github.sha }}
|
2023-05-03 21:21:04 +00:00
|
|
|
path: ${{ github.workspace }}/build/staging
|
2023-06-23 17:09:36 +00:00
|
|
|
if-no-files-found: error
|