Skip to content

Commit

Permalink
Chore/node 18 (#219)
Browse files Browse the repository at this point in the history
* chore: fix packages

* chore: upgrade packages

* fix: nvmrc

* fix: package-lock

* fix: circleci

* fix: upgrade types/node

* fix: move all to node18

* fix: readme

* fix: circleci

* fix: revert middy, ethers, did

---------

Co-authored-by: david tjokroaminoto <[email protected]>
  • Loading branch information
dchocoboo and david tjokroaminoto authored May 15, 2023
1 parent b3beab9 commit 6a83e6f
Show file tree
Hide file tree
Showing 11 changed files with 14,684 additions and 9,219 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2.1
jobs:
build:
docker:
- image: "circleci/node:14.18"
- image: "cimg/node:18.16"
steps:
- checkout
- run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-master-staging-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14.x'
node-version: '18.x'
cache: npm
- run: cp .env.example .env
- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-pull-request-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
node-version: [18.x]
steps:
- uses: actions/checkout@v3
2 changes: 1 addition & 1 deletion .github/workflows/ci-pull-request-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14.x'
node-version: '18.x'
cache: npm
- run: cp .env.example .env
- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
image: ubuntu:latest
strategy:
matrix:
node-version: [14.x]
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
legacy-peer-deps=true
engine-strict=false
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/fermium
v18.15.0
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ An API endpoint for `verify.gov.sg` to perform verification of OpenAttestation d

## Prerequisites

NodeJS `lts/fermium (v.14.15.0)`. If you're using [nvm](https://github.com/nvm-sh/nvm), run `nvm use` to ensure you're using the same Node version in local and in your lambda's runtime.
NodeJS `lts/hydrogen (v18)`. If you're using [nvm](https://github.com/nvm-sh/nvm), run `nvm use` to ensure you're using the same Node version in local and in your lambda's runtime.

## Getting Started

Expand Down
Loading

0 comments on commit 6a83e6f

Please sign in to comment.