Added CI action for building JS

This commit is contained in:
Kalle Fagerberg 2022-07-17 20:19:10 +02:00 committed by thrillfall
parent 2d89c9f6d3
commit d2f03c5527
1 changed files with 21 additions and 0 deletions

21
.github/workflows/ci-js.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: NPM build
on:
pull_request:
env:
APP_NAME: gpoddersync
jobs:
js:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
path: ${{ env.APP_NAME }}
- name: Install NPM packages
run: cd ${{ env.APP_NAME }} && make npm-init
- name: Build JS
run: cd ${{ env.APP_NAME }} && make build-js-production