From 5392a8c50f8de7d8bd83c6f0a8f5ea26445b39c8 Mon Sep 17 00:00:00 2001 From: Evan Rusackas Date: Mon, 29 Jan 2024 16:53:38 -0700 Subject: [PATCH] chore(actions): run docs actions on Node 16 to conform with the project (#26868) Co-authored-by: Maxime Beauchemin --- .github/workflows/superset-docs-deploy.yml | 6 +++++- .github/workflows/superset-docs-verify.yml | 4 ++++ docs/README.md | 1 - 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/superset-docs-deploy.yml b/.github/workflows/superset-docs-deploy.yml index f474a8815..2232df924 100644 --- a/.github/workflows/superset-docs-deploy.yml +++ b/.github/workflows/superset-docs-deploy.yml @@ -25,7 +25,7 @@ jobs: needs: config if: needs.config.outputs.has-secrets name: Build & Deploy - runs-on: ubuntu-20.04 + runs-on: "ubuntu-latest" defaults: run: working-directory: docs @@ -35,6 +35,10 @@ jobs: with: persist-credentials: false submodules: recursive + - name: Set up Node.js 16 + uses: actions/setup-node@v2 + with: + node-version: '16' - name: yarn install run: | yarn install --check-cache diff --git a/.github/workflows/superset-docs-verify.yml b/.github/workflows/superset-docs-verify.yml index 26427c54d..22433b864 100644 --- a/.github/workflows/superset-docs-verify.yml +++ b/.github/workflows/superset-docs-verify.yml @@ -18,6 +18,10 @@ jobs: with: persist-credentials: false submodules: recursive + - name: Set up Node.js 16 + uses: actions/setup-node@v2 + with: + node-version: '16' - name: yarn install run: | yarn install --check-cache diff --git a/docs/README.md b/docs/README.md index 1427f2164..1e6107564 100644 --- a/docs/README.md +++ b/docs/README.md @@ -16,5 +16,4 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> - This is the public documentation site for Superset, built using [Docusaurus 2](https://docusaurus.io/). See [CONTRIBUTING.md](../CONTRIBUTING.md#documentation) for documentation on contributing to documentation.