From 06c1be7dee2a43cefc8f73ec7b82c72ad5c1f060 Mon Sep 17 00:00:00 2001 From: calonzolg Date: Tue, 1 Oct 2019 15:54:39 -0600 Subject: [PATCH 1/5] fix github workflows for PR --- .github/workflows/cd.yml | 3 +++ .github/workflows/ci.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index b6b837a..4da0dc3 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -4,6 +4,9 @@ on: push: branches: - master + pull_request: + branches: + - master jobs: publish: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74271a2..8a5aaa8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,6 @@ name: CI -on: [push] +on: [push, pull_request] jobs: tests: From 196326e918d639aa3d2e49ea26ec428c2fa7fc7e Mon Sep 17 00:00:00 2001 From: calonzolg Date: Tue, 1 Oct 2019 15:59:11 -0600 Subject: [PATCH 2/5] remove pull request in cd --- .github/workflows/cd.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 4da0dc3..b6b837a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -4,9 +4,6 @@ on: push: branches: - master - pull_request: - branches: - - master jobs: publish: From fca913432f31ddbf4069343a89f8b4fc5da185c7 Mon Sep 17 00:00:00 2001 From: Jonathan Luna Date: Tue, 1 Oct 2019 16:46:31 -0600 Subject: [PATCH 3/5] Chontales added to municipalities --- src/municipalities.js | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/municipalities.js b/src/municipalities.js index a4388d7..7022058 100644 --- a/src/municipalities.js +++ b/src/municipalities.js @@ -15,4 +15,22 @@ const chinandega = [ {'083': 'El Realejo'} ]; -export const municipalities = [...managua, ...leon, ...chinandega]; +const chontales = [ + {'121': 'Juigalpa'}, + {'122': 'Acoyapa'}, + {'123': 'Santo Tomás'}, + {'124': 'Villa Sandino'}, + {'125': 'San Pedro de Lóvago'}, + {'126': 'La Libertad'}, + {'127': 'Santo Domingo'}, + {'128': 'Comalapa'}, + {'129': 'San Francisco Cuapa'}, + {'130': 'El Coral'} +]; + +export const municipalities = [ + ...managua, + ...leon, + ...chinandega, + ...chontales +]; From 738427bc76427e70ff2e0c656259757d7aaea61c Mon Sep 17 00:00:00 2001 From: calonzolg Date: Wed, 2 Oct 2019 08:43:21 -0600 Subject: [PATCH 4/5] remove comma of the end --- .prettierrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.prettierrc b/.prettierrc index 8cfb46e..a0f24c9 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,4 +1,4 @@ { "singleQuote": true, - "bracketSpacing": false, + "bracketSpacing": false } From e65baa07e4428cc16f90f237765914b01537e933 Mon Sep 17 00:00:00 2001 From: calonzolg Date: Wed, 2 Oct 2019 08:43:49 -0600 Subject: [PATCH 5/5] complete Leon municipalities --- src/municipalities.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/municipalities.js b/src/municipalities.js index 7022058..4ca4f9a 100644 --- a/src/municipalities.js +++ b/src/municipalities.js @@ -7,7 +7,18 @@ const managua = [ {'006': 'Mateare'} ]; -const leon = [{'281': 'Leon'}]; +const leon = [ + {'281': 'Leon'}, + {'283': 'El Jicaral'}, + {'284': 'La Paz Centro'}, + {'285': 'Santa Rosa Del Peñón'}, + {'286': 'Quetzalguaque'}, + {'287': 'Nagarote'}, + {'288': 'El Sauce'}, + {'289': 'Achuapa'}, + {'290': 'Telica'}, + {'291': 'Larreynaga Malpaisillo'} +]; const chinandega = [ {'081': 'Chinandega'},