2022-09-03 12:08:45 +00:00
|
|
|
name: build
|
2023-02-25 18:29:04 +00:00
|
|
|
|
2022-09-03 12:08:45 +00:00
|
|
|
on:
|
|
|
|
push:
|
2023-02-25 18:29:04 +00:00
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
2022-09-03 12:08:45 +00:00
|
|
|
jobs:
|
2023-02-25 18:29:04 +00:00
|
|
|
prod:
|
2023-02-22 18:34:38 +00:00
|
|
|
runs-on: ubuntu-latest
|
2022-09-03 12:08:45 +00:00
|
|
|
steps:
|
2023-01-05 14:47:28 +00:00
|
|
|
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
|
2023-01-24 01:20:11 +00:00
|
|
|
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
|
2022-09-03 12:08:45 +00:00
|
|
|
with:
|
2023-02-22 18:34:38 +00:00
|
|
|
node-version: "lts/*"
|
|
|
|
cache: "npm"
|
2022-09-03 12:08:45 +00:00
|
|
|
- run: npm ci
|
|
|
|
- run: npx ropm install
|
2023-02-25 18:29:04 +00:00
|
|
|
- run: make release
|
2023-01-06 15:39:49 +00:00
|
|
|
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
|
2022-09-03 12:08:45 +00:00
|
|
|
with:
|
2023-02-25 18:29:04 +00:00
|
|
|
name: Jellyfin-Roku-release-${{ github.sha }}
|
2022-09-03 12:08:45 +00:00
|
|
|
path: ${{ github.workspace }}/out/staging
|
2023-02-25 18:29:04 +00:00
|
|
|
if-no-files-found: error
|