Skip to content

Commit

Permalink
Update to node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
Jawnnypoo committed Oct 30, 2023
1 parent df6d543 commit 2b8061c
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 52 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
- run: npm install
- run: npm run build
- run: npm test
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM node:18 as buildenv
FROM node:20 as buildenv

WORKDIR /app
COPY . .
RUN npm install && npm run build

FROM node:18
FROM node:20

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
Expand Down
2 changes: 1 addition & 1 deletion app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
runtime: nodejs18
runtime: nodejs20

instance_class: F1

Expand Down
77 changes: 34 additions & 43 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
"@types/gravatar": "^1.8.3",
"@types/luxon": "^3.2.0",
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.3",
"@types/node": "^20.8.9",
"@types/turndown": "^5.0.1",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"chai": "^4.3.7",
"chai-http": "^4.3.0",
"eslint": "^8.36.0",
"mocha": "^10.2.0",
"nodemon": "^2.0.21",
"nodemon": "^3.0.1",
"rimraf": "^4.4.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.2"
Expand All @@ -50,8 +50,8 @@
"winston": "^3.8.2"
},
"engines": {
"node": ">=18",
"npm": ">=9"
"node": ">=20",
"npm": ">=10"
},
"repository": {
"url": "https://github.com/Commit451/skyhook"
Expand Down

0 comments on commit 2b8061c

Please sign in to comment.