From 3a014131e99a7bf2daf896787a8f92789126d038 Mon Sep 17 00:00:00 2001 From: Tatyana Kostromskaya <32135588+takost@users.noreply.github.com> Date: Fri, 17 Nov 2023 15:54:11 +0000 Subject: [PATCH 1/2] Update action to node20 --- .github/workflows/check-dist.yml | 2 +- .github/workflows/check-formatting.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/rebuild-dependabot-prs.yml | 2 +- .github/workflows/test.yml | 2 +- action.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index fcc72f8..01dc37e 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -34,7 +34,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 20.x cache: 'npm' - name: Install dependencies diff --git a/.github/workflows/check-formatting.yml b/.github/workflows/check-formatting.yml index 2c8b85a..dd56152 100644 --- a/.github/workflows/check-formatting.yml +++ b/.github/workflows/check-formatting.yml @@ -25,7 +25,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 20.x cache: 'npm' - name: Install dependencies diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index af17bc4..b128293 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -25,7 +25,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 20.x cache: npm - name: Install dependencies diff --git a/.github/workflows/rebuild-dependabot-prs.yml b/.github/workflows/rebuild-dependabot-prs.yml index 87846c7..12a87b2 100644 --- a/.github/workflows/rebuild-dependabot-prs.yml +++ b/.github/workflows/rebuild-dependabot-prs.yml @@ -26,7 +26,7 @@ jobs: - name: Setup Node.JS uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 20.x cache: 'npm' - name: Install dependencies diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 76147fe..45e1dba 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,7 @@ jobs: - name: Setup Node.JS uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 20.x cache: 'npm' - name: Install dependencies diff --git a/action.yml b/action.yml index e894dd3..80230b7 100644 --- a/action.yml +++ b/action.yml @@ -2,7 +2,7 @@ name: 'Configure GitHub Pages' description: 'A GitHub Action to enable Pages, extract various metadata about a site, and configure some supported static site generators.' author: 'GitHub' runs: - using: 'node16' + using: 'node20' main: 'dist/index.js' inputs: static_site_generator: From 373694e352893db5ef78de6f321e8d55c860f7b6 Mon Sep 17 00:00:00 2001 From: "James M. Greene" Date: Mon, 4 Dec 2023 11:37:56 -0600 Subject: [PATCH 2/2] Use a centralized .node-version file --- .github/workflows/check-dist.yml | 2 +- .github/workflows/check-formatting.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/rebuild-dependabot-prs.yml | 2 +- .github/workflows/test.yml | 2 +- .node-version | 1 + 6 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 .node-version diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 01dc37e..beb99ce 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -34,7 +34,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: 20.x + node-version-file: '.node-version' cache: 'npm' - name: Install dependencies diff --git a/.github/workflows/check-formatting.yml b/.github/workflows/check-formatting.yml index dd56152..ad3e2a4 100644 --- a/.github/workflows/check-formatting.yml +++ b/.github/workflows/check-formatting.yml @@ -25,7 +25,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: 20.x + node-version-file: '.node-version' cache: 'npm' - name: Install dependencies diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b128293..87e567e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -25,7 +25,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: 20.x + node-version-file: '.node-version' cache: npm - name: Install dependencies diff --git a/.github/workflows/rebuild-dependabot-prs.yml b/.github/workflows/rebuild-dependabot-prs.yml index 12a87b2..fa09457 100644 --- a/.github/workflows/rebuild-dependabot-prs.yml +++ b/.github/workflows/rebuild-dependabot-prs.yml @@ -26,7 +26,7 @@ jobs: - name: Setup Node.JS uses: actions/setup-node@v3 with: - node-version: 20.x + node-version-file: '.node-version' cache: 'npm' - name: Install dependencies diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 45e1dba..d95c965 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,7 @@ jobs: - name: Setup Node.JS uses: actions/setup-node@v3 with: - node-version: 20.x + node-version-file: '.node-version' cache: 'npm' - name: Install dependencies diff --git a/.node-version b/.node-version new file mode 100644 index 0000000..d5a1596 --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +20.10.0