Skip to content

Commit

Permalink
Use NodeJS 14 (#420)
Browse files Browse the repository at this point in the history
* use NodeJS 14

* install deps for linting
  • Loading branch information
BitDesert authored Jul 18, 2021
1 parent c9cea88 commit 277bf8d
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/electron_hash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 14

- name: Install APT dependencies
if: matrix.os == 'ubuntu-latest'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup NodeJS
uses: actions/setup-node@v1
with:
node-version: '12'
node-version: 14

- name: Install APT dependencies
run: |
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ jobs:
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 14

- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install build-essential git -y
sudo apt-get install libudev-dev -y
sudo apt-get install libusb-1.0-0-dev -y
- name: Install and Lint
run: |
Expand Down
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- Communication with the network is done via Nano RPC and Websocket protocols, private or public on any nano network.

## Development Prerequisites
- [NodeJS](https://nodejs.org) v12.x + NPM v6.x
- [NodeJS](https://nodejs.org) v14.x + NPM v6.x
- Angular CLI: `npm install -g @angular/cli`

## Development Guide
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# build the angular app
FROM node:12 AS build
FROM node:14 AS build
WORKDIR /usr/src/app
RUN apt-get update && apt-get install -y \
libudev-dev \
Expand All @@ -10,6 +10,6 @@ COPY . .
RUN npm run wallet:build

# build the nginx hosting container
FROM nginx:1.19-alpine
FROM nginx:1.21-alpine
COPY .docker/nginx.conf /etc/nginx/nginx.conf
COPY --from=build /usr/src/app/dist /usr/share/nginx/html
10 changes: 5 additions & 5 deletions package-lock.json

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

0 comments on commit 277bf8d

Please sign in to comment.