Add github action to check production build #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / Run Production BuildInvalid workflow file
|