Skip to content

Commit

Permalink
primeira versão workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yaskisoba committed Nov 19, 2023
1 parent a898264 commit 659448f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/workflow_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI - Build and Deploy
on: [push]

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- name: Clone repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20'

- name: Install dependencies
run: |
cd back-end
npm install
- name: Run back-end
run: |
cd back-end
npm start
sleep 10
pkill -f "npm start"

0 comments on commit 659448f

Please sign in to comment.