Skip to content

Commit

Permalink
chore: support node 14 and update deps (#440)
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg authored Nov 3, 2020
1 parent 38737fe commit dc135fb
Show file tree
Hide file tree
Showing 7 changed files with 751 additions and 456 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 13
node-version: 14
- name: Install dependencies
run: npm ci
- name: Run linter
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 13
node-version: 14
- name: Install dependencies
run: npm ci
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-docs-on-docs-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 13
node-version: 14
- name: Install dependencies
run: npm ci
- name: Regenerate docs
Expand Down
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:12-alpine
FROM node:14-alpine

WORKDIR /app

Expand All @@ -13,9 +13,6 @@ RUN apk --update add git chromium && \
rm -rf /var/lib/apt/lists/* && \
rm /var/cache/apk/*

# Installing latest version of npm 6. The one packaged with node:12.16.1-alpine3.11 has a bug.
RUN npm install -g npm@6

# Installing latest released npm package
RUN npm install -g @asyncapi/generator

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ You can find above templates and the ones provided by the community in **[this l

## Requirements

* Node.js v12.16+
* npm v6.13.7+
* v12.16+ < Node.js < 15
* v6.13.7+ < npm < 7

Install both packages using [official installer](https://nodejs.org/en/download/). After installation make sure both packages have proper version by running `node -v` and `npm -v`. To upgrade invalid npm version run `npm install npm@latest -g`

Expand Down
Loading

0 comments on commit dc135fb

Please sign in to comment.