cofacts / rumors-api

GraphQL API server for clients like rumors-site and rumors-line-bot
https://api.cofacts.tw
MIT License
109 stars 26 forks source link

Fix build by upgrade Node.JS #278

Closed MrOrz closed 2 years ago

MrOrz commented 2 years ago

When docker build the current master branch, docker image is broken because it is using node:12-alpine, whose npm is too old to properly load dependency from package-lock.json v2. This stops the server from booting:

圖片 圖片

This PR fixes the issue by

coveralls commented 2 years ago

Coverage Status

Coverage remained the same at 87.533% when pulling e0510ecbc74c7737663340ca8231664149005454 on fix-build-by-upgrade into 7b88fbe8f74bdba46575b9e4247427545095205e on master.