Skip to content

Commit

Permalink
Merge pull request #5 from olasunkanmi-SE/development
Browse files Browse the repository at this point in the history
add github workflow for catching build errors
  • Loading branch information
olasunkanmi-SE authored Jan 28, 2024
2 parents d9aa32c + 7ec55d9 commit d08ae97
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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 i typescript
npm run build

0 comments on commit d08ae97

Please sign in to comment.