From 828ec4da1669d244d6275b0ceae5e7df1ddf48e4 Mon Sep 17 00:00:00 2001 From: Jack Green Date: Mon, 7 Oct 2024 15:26:03 +0100 Subject: [PATCH] Use latest `setup-node` in GitHub Actions Rather than specifying a specific `setup-node` version, and having to [manually increment it](https://github.com/hazelcast/hz-docs/pulls?q=actions%2Fsetup-node), instead we can specify the latest `v4` as we do with other GitHub Actions (e.g. `checkout`). --- .github/workflows/adoc-html.yml | 2 +- .github/workflows/validate.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/adoc-html.yml b/.github/workflows/adoc-html.yml index e68c81cef..1c71b531d 100644 --- a/.github/workflows/adoc-html.yml +++ b/.github/workflows/adoc-html.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4.0.2 + - uses: actions/setup-node@v4 with: node-version: 20 - name: Convert adoc diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 3ca1ce81d..870597156 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4.0.2 + - uses: actions/setup-node@v4 with: node-version: 20 - name: Check for broken internal links