Skip to content

Commit

Permalink
ci: bump node to 16 LTS
Browse files Browse the repository at this point in the history
node 12 is EOL as of 30 April 2022
  • Loading branch information
abhidg committed Jul 2, 2022
1 parent c79317f commit bc0f177
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/curator-api-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: "12.x"
node-version: "16.x"
- name: Build and test
run: |
npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/curator-ui-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: "12.x"
node-version: "16.x"
- name: Build and test
run: |
git config --global url."https://github.com/".insteadOf git@github.com:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/data-service-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: "12.x"
node-version: "16.x"
- name: Build and test
run: |
npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-dev-curator-db-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: "12.x"
node-version: "16.x"

- name: Migrate dev database
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-prod-curator-db-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: "12.x"
node-version: "16.x"

- name: Migrate prod database
env:
Expand Down
4 changes: 2 additions & 2 deletions data-serving/data-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/jest": "^27.4.1",
"@types/lodash": "^4.14.161",
"@types/mongodb": "^3.5.27",
"@types/node": "^14.11.1",
"@types/node": "^16.11.7",
"@types/pino": "^6.3.0",
"@types/supertest": "^2.0.10",
"@typescript-eslint/eslint-plugin": "^3.10.1",
Expand Down Expand Up @@ -97,6 +97,6 @@
]
},
"engines": {
"node": "14.17.1"
"node": "16.15.1"
}
}
2 changes: 1 addition & 1 deletion data-serving/scripts/prepare_fields_list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"typescript": "4.3.5"
},
"devDependencies": {
"@types/node": "^16.7.8"
"@types/node": "^16.11.7"
},
"scripts": {
"build": "tsc",
Expand Down
1 change: 1 addition & 0 deletions data-serving/scripts/prune-uploads/prune_uploads.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ def get_selected_hooks(run_hooks):
m = []
ingested_sources = []
for s in sources:
print(s)
if result := prune_uploads(db.cases, db.sources, s, threshold,
epoch, args.dry_run, args.allow_decrease):
ingested_sources.append(s)
Expand Down
2 changes: 1 addition & 1 deletion data-serving/scripts/setup-db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"homepage": "https://github.com/globaldothealth/list#readme",
"node_modules": [],
"dependencies": {
"@types/node": "^13.13.21",
"@types/node": "^16.11.7",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"eslint": "^8.0.1",
Expand Down
2 changes: 1 addition & 1 deletion verification/curator-service/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,6 @@
]
},
"engines": {
"node": "16.14.2"
"node": "16.15.1"
}
}
4 changes: 2 additions & 2 deletions verification/curator-service/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"@types/jest": "^24.9.1",
"@types/lodash": "^4.14.175",
"@types/mongodb": "^3.6.18",
"@types/node": "^12.20.15",
"@types/node": "^16.11.7",
"@types/papaparse": "^5.3.0",
"@types/react": "^16.14.8",
"@types/react-dom": "^16.9.13",
Expand Down Expand Up @@ -121,6 +121,6 @@
]
},
"engines": {
"node": "14.17.1"
"node": "16.15.1"
}
}

0 comments on commit bc0f177

Please sign in to comment.