Skip to content

Commit

Permalink
Update from Node 14 to Node 16 (and deprecate Node 12) (#901)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuthan authored May 9, 2022
1 parent cf5364d commit 254306f
Show file tree
Hide file tree
Showing 9 changed files with 25,477 additions and 545 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
node-version: [ 12.x, 14.x ]
node-version: [ 14.x, 16.x ]

steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Use Node.js 14.x
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 16.x

- name: Cache Node.js modules
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-beta.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: '14.x'
node-version: '16.x'

- name: Cache Node.js modules
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-final.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '14.x'
node-version: '16.x'

- name: Cache Node.js modules
uses: actions/cache@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/size-limit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Use Node.js 14.x
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 16.x

- name: Cache Node.js modules
uses: actions/cache@v2
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# BUILD stage
#
FROM node:14.15.4 AS build
FROM node:16.15.0 AS build

WORKDIR /usr/src/app

Expand All @@ -21,7 +21,7 @@ RUN npm prune --production
#
# RUNTIME stage
#
FROM gcr.io/distroless/nodejs:14 as runtime
FROM gcr.io/distroless/nodejs:16 as runtime

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ or join the chat on [Slack](https://join.slack.com/t/turnilo/shared_invite/enQtO

## Pre-requisites

* [Node.js](https://nodejs.org/) - 12.x or 14.x version
* [Node.js](https://nodejs.org/) - 14.x or 16.x version

:warning:
Do not use `yarn` command for dependency management and project build, use `npm` instead.
Expand Down
Loading

0 comments on commit 254306f

Please sign in to comment.