From d3697c65d25e763ff9f36d1db1888610612ec0b5 Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 7 Sep 2023 21:26:20 +0000 Subject: [PATCH] Run both workflows on node 18 (#68) Should also fix the build failure on main under node 20: https://github.com/facebook/docusaurus/issues/9278 Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/68 Reviewed-by: techknowlogick Co-authored-by: silverwind Co-committed-by: silverwind --- .gitea/workflows/build-and-publish.yaml | 2 +- .gitea/workflows/test.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-and-publish.yaml b/.gitea/workflows/build-and-publish.yaml index ec110f5b..dbaa6043 100644 --- a/.gitea/workflows/build-and-publish.yaml +++ b/.gitea/workflows/build-and-publish.yaml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v3 - uses: https://github.com/actions/setup-node@v3 with: - node-version: 20 + node-version: 18 - name: install necessary tools run: | apt update -y && apt install -y rsync python python3-pip diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 70bb6623..57147471 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v3 - uses: https://github.com/actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - name: install necessary tools run: | apt update -y && apt install -y rsync python python3-pip