diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml new file mode 100644 index 00000000..61426556 --- /dev/null +++ b/.github/workflows/ci-build.yml @@ -0,0 +1,25 @@ +name: Frontend build + +on: + pull_request: + push: + branches: + - master + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./frontend + steps: + - uses: actions/checkout@v4 + - name: Use Node.js 20.x + uses: actions/setup-node@v4 + with: + node-version: 20.x + - name: Install dependencies + run: npm ci + - name: Build + run: npm run build