2022-07-17 18:19:10 +00:00
|
|
|
name: NPM build
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
env:
|
|
|
|
APP_NAME: gpoddersync
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
js:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2023-02-27 11:47:06 +00:00
|
|
|
uses: actions/checkout@v3
|
2022-07-17 18:19:10 +00:00
|
|
|
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
|