From 542bf89d082211531e52fa2c2e23097b0b186762 Mon Sep 17 00:00:00 2001 From: petervanmanenritense <145462876+petervanmanenritense@users.noreply.github.com> Date: Mon, 19 Aug 2024 18:20:51 +0200 Subject: [PATCH] Create frontend-build.yml --- .github/workflows/frontend-build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/frontend-build.yml diff --git a/.github/workflows/frontend-build.yml b/.github/workflows/frontend-build.yml new file mode 100644 index 0000000..a100b1d --- /dev/null +++ b/.github/workflows/frontend-build.yml @@ -0,0 +1,25 @@ +# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created +# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages + +name: Build frontend + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 18 + - run: npm install + working-directory: /frontend/projects/valtimo/spotler + - run: npm run build + working-directory: /frontend/projects/valtimo/spotler + +