31 lines
798 B
YAML
31 lines
798 B
YAML
name: build-dev
|
|
|
|
on:
|
|
pull_request:
|
|
branches-ignore:
|
|
- master
|
|
push:
|
|
branches:
|
|
- unstable
|
|
|
|
jobs:
|
|
dev:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
|
|
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
|
|
with:
|
|
node-version: "lts/*"
|
|
cache: "npm"
|
|
- name: NPM install
|
|
run: npm ci
|
|
- name: Install roku module dependencies
|
|
run: npm run ropm
|
|
- name: Build app
|
|
run: npm run build
|
|
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
|
|
with:
|
|
name: Jellyfin-Roku-dev-${{ github.sha }}
|
|
path: ${{ github.workspace }}/build/staging
|
|
if-no-files-found: error
|