Skip to content

Make documentation compatible with node 16 #1653

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 24 additions & 20 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,38 +10,42 @@ on:
- master

jobs:
check-builds:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
node: ["14", "16"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: "yarn"
cache-dependency-path: yarn.lock
- run: yarn install
- run: yarn build

check-links:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
cache: "yarn"
cache-dependency-path: yarn.lock
- run: yarn install
- run: yarn check-links

check-style:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
cache: "yarn"
cache-dependency-path: yarn.lock
- run: yarn install
- run: yarn style
13 changes: 5 additions & 8 deletions .github/workflows/gh-pages-scraping.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ jobs:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
registry-url: https://registry.npmjs.org/
cache: "yarn"
cache-dependency-path: yarn.lock
- name: Publish
uses: netlify/actions/build@master
env:
Expand All @@ -27,11 +28,7 @@ jobs:
needs: build-deploy
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- uses: actions/checkout@v3
- name: Run docs-scraper
env:
HOST_URL: ${{ secrets.MEILISEARCH_HOST_URL }}
Expand Down
2 changes: 1 addition & 1 deletion .vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ module.exports = {
'img-lazy',
// Because colors can not be set through the settings of the plugin
// Change are done in .vuepress/styles/palette.styl
'vuepress-plugin-element-tabs',
'@bidoubiwa/vuepress-plugin-element-tabs',
['vuepress-plugin-container', { type: 'note' }],
[require('./config-path-checker')],
[require('./custom-markdown-rules')],
Expand Down
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ If this happens to you and you think there has been some mistake, please let us

### Requirements

- Node version >= v10 and < v15
- Node version >= v14 and <= v16

### Installing & Running

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
"author": "tpayet",
"license": "MIT",
"dependencies": {
"@bidoubiwa/vuepress-plugin-element-tabs": "^0.2.9",
"vuepress": "^1.8.2",
"vuepress-plugin-code-copy": "^1.0.6",
"vuepress-plugin-container": "^2.1.5",
"vuepress-plugin-element-tabs": "^0.2.8",
"vuepress-plugin-img-lazy": "^1.0.4",
"vuepress-plugin-meilisearch": "0.12.1",
"vuepress-plugin-seo": "^0.1.4",
Expand All @@ -44,7 +44,7 @@
"vuex": "^3.6.2"
},
"engines": {
"node": ">=12 <15"
"node": ">=12 <=16"
},
"resolutions": {
"vuepress-plugin-check-md/check-md": "https://github.com/bidoubiwa/check-md#add_ignore_pattern"
Expand Down
Loading