Skip to content

Add build workflow

Add build workflow #2

Workflow file for this run

---
name: build app
on: [push, pull_request]
jobs:
build-test:
strategy:
matrix:
node-version:
- 18
- 20
runs-on: ubuntu-latest
env:

Check failure on line 14 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / build app

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 14, Col: 9): Unexpected value ''
steps:
- uses: actions/checkout@v4
- name: Set up node-${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies and build the code
run: |
npm install
npm run build