Skip to content

Added secuencial deploy workflows modificaction #2

Added secuencial deploy workflows modificaction

Added secuencial deploy workflows modificaction #2

Workflow file for this run

name: Demployment Excercise 1
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
test:
#Agregando secuencial "Despúes de Lint"
needs: lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: npm ci
- name: Test
run: npm test
deploy:
#Agregando secuencial "Despúes de Test"
needs: test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Test
run: npm test
- name: Build
run: npm run build
- name: Deploy Code
run: echo "Deploying....."