Skip to content

add github workflow for catching build errors #2

add github workflow for catching build errors

add github workflow for catching build errors #2

Workflow file for this run

name: CI for restaurant
on:
pull_request:
branches: [main, development]
push:
branches: [main, development]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: "16"
- name: ci for api
working-directory: ./api
run: |
npm i
npm run build