From d2f03c55279a999ee34cbc6ee24965626e25d363 Mon Sep 17 00:00:00 2001 From: Kalle Fagerberg Date: Sun, 17 Jul 2022 20:19:10 +0200 Subject: [PATCH] Added CI action for building JS --- .github/workflows/ci-js.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci-js.yml diff --git a/.github/workflows/ci-js.yml b/.github/workflows/ci-js.yml new file mode 100644 index 0000000..79b4f68 --- /dev/null +++ b/.github/workflows/ci-js.yml @@ -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