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