Merge pull request #2034 from cewert/fix-1961 #535
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
# Builds the production version of the app | |
name: build-prod | |
on: | |
push: | |
branches: | |
- master | |
- "*.*.z" | |
jobs: | |
prod: | |
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'release-prep') }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4 | |
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4 | |
with: | |
node-version: "lts/*" | |
cache: "npm" | |
- name: NPM install | |
run: npm ci | |
- name: Install roku module dependencies | |
run: npm run ropm | |
- name: Build app for production | |
run: npm run build-prod | |
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4 | |
with: | |
name: Jellyfin-Roku-v${{ env.newManVersion }}-${{ github.sha }} | |
path: ${{ github.workspace }}/build/staging | |
if-no-files-found: error |