Merge pull request #2034 from cewert/fix-1961 #2466
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
name: build-dev | |
on: | |
pull_request: | |
push: | |
jobs: | |
dev: | |
# prevent job from running twice when a PR pushes a new commit | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
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 | |
run: npm run build | |
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4 | |
with: | |
name: Jellyfin-Roku-dev-${{ github.sha }} | |
path: ${{ github.workspace }}/build/staging | |
if-no-files-found: error |