Skip to content

Add github action to check production build #2

Add github action to check production build

Add github action to check production build #2

name: Run Production Build
on: [pull_request]
jobs:
npm-run-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
run: npm install
- name: Build Next.js app
run: npm run build
# XXX (willnilges): We should maybe set up real integration tests.
env:
NEXT_PUBLIC_MESHDB_URL=http://127.0.0.1:8000/

Check failure on line 16 in .github/workflows/check-prod-build.yaml

View workflow run for this annotation

GitHub Actions / Run Production Build

Invalid workflow file

The workflow is not valid. .github/workflows/check-prod-build.yaml (Line: 16, Col: 11): Unexpected value 'NEXT_PUBLIC_MESHDB_URL=http://127.0.0.1:8000/'