From 264affff5ebf96217e5e1cf680d9c882b7efd7aa Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Mon, 30 Sep 2024 07:19:27 +0000 Subject: [PATCH] Add simple workflow to build frontend code --- .github/workflows/frontend.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/frontend.yaml diff --git a/.github/workflows/frontend.yaml b/.github/workflows/frontend.yaml new file mode 100644 index 0000000..956b3d5 --- /dev/null +++ b/.github/workflows/frontend.yaml @@ -0,0 +1,24 @@ +# Run CI checks for frontend code +name: Frontend CI + +on: ["push", "pull_request"] + +jobs: + frontend: + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v2 + - name: Install Node.js + uses: actions/setup-node@v2 + with: + node-version: "14" + - name: Install Deps + run: | + cd src/frontend + npm install + - name: Build Frontend + run: | + cd src/frontend + npm run build \ No newline at end of file