Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
chore: testing node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
giulianok committed Apr 22, 2024
1 parent b14ad10 commit 517e6ef
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.10.0]
node-version: [18.x, 20.8.1]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.10.0
20.8.1
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
ARG VERSION=20.10.0
ARG VERSION=lts
# Use the pre-baked fat node image only in the builder
# which includes build utils preinstalled (e.g. gcc, make, etc).
# This will result in faster and reliable One App docker image
# builds as we do not have to run apk installs for alpine.
FROM node:$VERSION as builder
FROM node:$VERSION-alpine as builder
WORKDIR /opt/build
RUN npm install -g [email protected] --registry=https://registry.npmjs.org
COPY --chown=node:node ./ /opt/build
Expand Down
2 changes: 1 addition & 1 deletion one-app-statics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@americanexpress/one-app-statics",
"version": "6.13.0-node-20-10-0.1",
"version": "6.13.0-node-20-10-0.2",
"description": "One App Static Assets",
"main": "index.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "@americanexpress/one-app",
"version": "6.13.0-node-20-10-0.1",
"version": "6.13.0-node-20-10-0.2",
"description": "One Amex SPA technology stack.",
"main": "index.js",
"engines": {
"node": ">=18 <=20.10.0",
"node": ">=18 <=20.8.1",
"npm": ">=9"
},
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions prod-sample/api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG VERSION=20.10.0
ARG VERSION=lts

FROM node:$VERSION as builder
FROM node:$VERSION-alpine as builder
MAINTAINER One App Team

WORKDIR /
Expand Down

0 comments on commit 517e6ef

Please sign in to comment.