Skip to content

Commit

Permalink
Merge pull request #104 from Green-Software-Foundation/boavizta-pipel…
Browse files Browse the repository at this point in the history
…ine-upgrade
  • Loading branch information
gnanakeethan authored Aug 31, 2023
2 parents 44eb48a + 82441a3 commit 110f55e
Show file tree
Hide file tree
Showing 10 changed files with 924 additions and 87 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/nodejs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ jobs:

- name: Run lint
run: yarn lint

- name: Build
run: yarn build

- name: Run tests
run: yarn test

- name: Build
run: yarn build
8 changes: 8 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,12 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
transform: {
'^.+\\.ts?$': [
'ts-jest',
{
tsconfig: 'tsconfig.test.json',
},
],
},
};
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"fixpack": "^4.0.0",
"gts": "^5.0.0",
"jest": "^29.6.1",
"jest-mock-axios": "^4.7.2",
"jsii": "^5.1.6",
"jsii-pacmak": "^1.84.0",
"ts-jest": "^29.1.1"
Expand All @@ -48,9 +49,7 @@
},
"jsii": {
"versionFormat": "full",
"outdir": "./dist",
"tsc": {
"outDir": "./dist",
"rootDir": "./src"
},
"targets": {
Expand Down
138 changes: 138 additions & 0 deletions src/__mocks__/boavizta/countries.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
{
"0-Global": "WOR",
"1-Europe": "EEE",
"Albania": "ALB",
"Algeria": "DZA",
"Angola": "AGO",
"Argentina": "ARG",
"Armenia": "ARM",
"Australia": "AUS",
"Austria": "AUT",
"Azerbaijan": "AZE",
"Bahrain": "BHR",
"Bangladesh": "BGD",
"Belarus": "BLR",
"Belgium": "BEL",
"Benin": "BEN",
"Bolivia": "BOL",
"Bosnia and Herzegovina": "BIH",
"Botswana": "BWA",
"Brazil": "BRA",
"Brunei": "BRN",
"Bulgaria": "BGR",
"Cambodia": "KHM",
"Cameroon": "CMR",
"Canada": "CAN",
"Chile": "CHL",
"China": "CHN",
"Colombia": "COL",
"Congo": "COG",
"Costa Rica": "CRI",
"Croatia": "HRV",
"Cuba": "CUB",
"Cyprus": "CYP",
"Czech Republic": "CZE",
"Denmark": "DNK",
"Dominican Republic": "DOM",
"DR Congo": "COD",
"Ecuador": "ECU",
"Egypt": "EGY",
"El Salvador": "SLV",
"Eritrea": "ERI",
"Estonia": "EST",
"Ethiopia": "ETH",
"Finland": "FIN",
"France": "FRA",
"Gabon": "GAB",
"Georgia": "GEO",
"Germany": "DEU",
"Ghana": "GHA",
"Greece": "GRC",
"Guatemala": "GTM",
"Haiti": "HTI",
"Honduras": "HND",
"Hungary": "HUN",
"Iceland": "ISL",
"India": "IND",
"Indonesia": "IDN",
"Iran": "IRN",
"Iraq": "IRQ",
"Ireland": "IRL",
"Israel": "ISR",
"Italy": "ITA",
"Ivory Coast": "CIV",
"Jamaica": "JAM",
"Japan": "JPN",
"Jordan": "JOR",
"Kazakhstan": "KAZ",
"Kenya": "KEN",
"Kuwait": "KWT",
"Kyrgyzstan": "KGZ",
"Latvia": "LVA",
"Lebanon": "LBN",
"Libyan Arab Jamahiriya": "LBY",
"Lithuania": "LTU",
"Luxembourg": "LUX",
"Malaysia": "MYS",
"Malta": "MLT",
"Mexico": "MEX",
"Moldova": "MDA",
"Mongolia": "MNG",
"Morocco": "MAR",
"Mozambique": "MOZ",
"Myanmar": "MMR",
"Namibia": "NAM",
"Nepal": "NPL",
"Netherlands": "NLD",
"New Zealand": "NZL",
"Nicaragua": "NIC",
"Nigeria": "NGA",
"North Korea": "PRK",
"North Macedonia": "MKD",
"Norway": "NOR",
"Oman": "OMN",
"Pakistan": "PAK",
"Panama": "PAN",
"Paraguay": "PRY",
"Peru": "PER",
"Philippines": "PHL",
"Poland": "POL",
"Portugal": "PRT",
"Qatar": "QAT",
"Romania": "ROU",
"Russian Federation": "RUS",
"Saudi Arabia": "SAU",
"Senegal": "SEN",
"Serbia": "SCG",
"Singapore": "SGP",
"Slovakia": "SVK",
"Slovenia": "SVN",
"South Africa": "ZAF",
"South Korea": "KOR",
"Spain": "ESP",
"Sri Lanka": "LKA",
"Sudan": "SDN",
"Sweden": "SWE",
"Switzerland": "CHE",
"Syrian Arab Republic": "SYR",
"Taiwan": "TWN",
"Tajikistan": "TJK",
"Tanzania": "TZA",
"Thailand": "THA",
"Togo": "TGO",
"Trinidad and Tobago": "TTO",
"Tunisia": "TUN",
"Turkey": "TUR",
"Turkmenistan": "TKM",
"Ukraine": "UKR",
"United Arab Emirates": "ARE",
"United Kingdom": "GBR",
"United States of America": "USA",
"Uruguay": "URY",
"Uzbekistan": "UZB",
"Venezuela": "VEN",
"Vietnam": "VNM",
"Yemen": "YEM",
"Zambia": "ZMB",
"Zimbabwe": "ZWE"
}
Loading

0 comments on commit 110f55e

Please sign in to comment.