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

Commit

Permalink
bump node to v16 (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuxingloh authored Nov 4, 2021
1 parent 29f5b41 commit 22be4cb
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c
with:
node-version: '15'
cache: 'npm'
node-version: 16
cache: npm

- run: npm ci
- run: npm run build
Expand All @@ -31,8 +31,8 @@ jobs:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c
with:
node-version: '15'
cache: 'npm'
node-version: 16
cache: npm

- run: npm ci
- run: npm run packages:build
Expand All @@ -44,8 +44,8 @@ jobs:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c
with:
node-version: '15'
cache: 'npm'
node-version: 16
cache: npm

- run: npm ci
- run: npm run test:ci
Expand All @@ -60,8 +60,8 @@ jobs:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c
with:
node-version: '15'
cache: 'npm'
node-version: 16
cache: npm

- run: npm ci
- run: npx --no-install ts-standard
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/defichain-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c
with:
node-version: 15
node-version: 16

- name: Upgrade dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nestjs-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c
with:
node-version: 15
node-version: 16

- name: Upgrade dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c
with:
node-version: '15'
node-version: 16

- uses: actions/github-script@441359b1a30438de65712c2fbca0abe4816fa667
id: version
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c
with:
node-version: '15'
node-version: 16

- uses: actions/github-script@441359b1a30438de65712c2fbca0abe4816fa667
id: version
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:14-alpine3.13
FROM node:16-alpine3.13

# add curl for docker healthcheck capability
RUN apk --no-cache add curl
Expand Down
2 changes: 1 addition & 1 deletion src/module.api/loan.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export class LoanController {
* Get information about a vault with given vault id.
*
* @param {string} id
* @return {Promise<LoanVault>}
* @return {Promise<LoanVaultActive | LoanVaultLiquidated>}
*/
@Get('/vaults/:id')
async getVault (@Param('id') id: string): Promise<LoanVaultActive | LoanVaultLiquidated> {
Expand Down

0 comments on commit 22be4cb

Please sign in to comment.