Add workflow to build and upload release (#756)

* Add workflow to build and upload release

* Ignore locale changes (Weblate)

* Update build.yml

Co-authored-by: Neil Burrows <neil@pawprint.co.uk>
This commit is contained in:
Cody Robibero 2022-09-03 06:08:45 -06:00 committed by GitHub
parent 3bc57d25ae
commit e928d65bf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

22
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: build
on:
pull_request:
push:
paths-ignore:
- 'locale/**'
jobs:
run:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "14.12.0"
- run: npm ci
- run: npx ropm install
- run: make dev
- uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # tag=v3
with:
name: Jellyfin-Roku-dev-${{ github.sha }}
path: ${{ github.workspace }}/out/staging
if-no-files-found: error