Skip to content

Merge pull request #277 from hotosm/hotfix/expand-options #471

Merge pull request #277 from hotosm/hotfix/expand-options

Merge pull request #277 from hotosm/hotfix/expand-options #471

name: Frontend Build
on:
push:
branches: [master]
paths:
- "frontend/**"
- ".github/workflows/frontend_build.yml"
pull_request:
branches: [master]
paths:
- "frontend/**"
- ".github/workflows/frontend_build.yml"
jobs:
Build_On_Ubuntu:
runs-on: ubuntu-latest
env:
CI: false
strategy:
matrix:
node-version: [16, 18, 20]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
cd frontend/
npm install --legacy-peer-deps
- name: Build
run: |
cd frontend/
npm run build