[DOCS] Use Node 16 (#1925)

* [DOCS] Downgrade Node to 16.x and page speed criteria to 60
This commit is contained in:
Florian authored and GitHub committed 2024-04-04 20:04:06 -05:00
1 parent 781f7af90c
commit bf70508318
1 file changed
+7 -7
+7 -7
View File
@@ -9,13 +9,13 @@ jobs:
if: github.repository_owner == '1technophile'
name: Build and upload Assets to Release
steps:
- uses: actions/checkout@v4.0.0
- uses: benjlevesque/short-sha@v3.0
- uses: actions/checkout@v3
- uses: benjlevesque/short-sha@v2.1
id: short-sha
with:
length: 6
- name: Set up Python
uses: actions/setup-python@v5.0.0
uses: actions/setup-python@v4
with:
python-version: "3.7"
- name: Install dependencies
@@ -41,9 +41,9 @@ jobs:
sudo apt install rename
./scripts/prepare_deploy.sh
- name: Set up Node.js
uses: actions/setup-node@v4.0.1
uses: actions/setup-node@v3
with:
node-version: "20.x"
node-version: "16.x"
- name: Download Common Config
run: |
curl -o docs/.vuepress/public/commonConfig.js https://www.theengs.io/commonConfig.js
@@ -52,7 +52,7 @@ jobs:
python ./scripts/gen_wu.py --dev
npm run docs:build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3.9.3
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/.vuepress/dist
@@ -63,5 +63,5 @@ jobs:
id: psi
with:
url: "https://docs.openmqttgateway.com/dev/"
threshold: 65
threshold: 60
key: ${{ secrets.APIKEY }}