Switching node version to version 16

This commit is contained in:
Knut Sveidqvist
2021-07-15 10:22:33 +02:00
parent 3fe1f5af60
commit c29486f515
4 changed files with 20 additions and 20 deletions

View File

@@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
node-version: [12.x, 16.x] node-version: [16.x]
steps: steps:
- uses: actions/checkout@v2.3.4 - uses: actions/checkout@v2.3.4

View File

@@ -181,7 +181,7 @@ Latest Version: [https://unpkg.com/browse/mermaid@8.8.0/](https://unpkg.com/brow
## Deploying Mermaid ## Deploying Mermaid
To Deploy Mermaid: To Deploy Mermaid:
1. You will need to install node v10 or 12, which would have npm 1. You will need to install node v16, which would have npm
2. Download yarn using npm 2. Download yarn using npm
3. Enter the following command: `yarn add mermaid` 3. Enter the following command: `yarn add mermaid`
4. You can then add mermaid as a dev dependency using this command: 4. You can then add mermaid as a dev dependency using this command:

View File

@@ -164,7 +164,7 @@ In this example mermaid.js is referenced in `src` as a separate JavaScript file,
--- ---
## 4. Adding Mermaid as a dependency. ## 4. Adding Mermaid as a dependency.
1. install node v10 or 12, which would have npm 1. install node v16, which would have npm
2. download yarn using npm by entering the command below: 2. download yarn using npm by entering the command below:
npm install -g yarn npm install -g yarn

View File

@@ -23,7 +23,7 @@ We have compiled some Video [Tutorials](./Tutorials.md) on how to use the mermai
**Using the npm package** **Using the npm package**
``` ```
1.You will need to install node v10 or 12, which would have npm. 1.You will need to install node v16, which would have npm.
2. download yarn using npm. 2. download yarn using npm.