From 51143d3c9d50f278ef8756f946b4d0fbeb9b37f3 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Wed, 22 Feb 2023 16:15:52 -0500 Subject: [PATCH] Don't use .node-version for Actions (#34982) --- .github/actions/node-npm-setup/action.yml | 2 +- .github/workflows/azure-prod-build-deploy.yml | 2 +- .github/workflows/azure-staging-build-deploy.yml | 2 +- .github/workflows/browser-test.yml | 2 +- .github/workflows/content-changes-table-comment.yml | 2 +- .github/workflows/docs-review-collect.yml | 2 +- .github/workflows/os-ready-for-review.yml | 2 +- .github/workflows/package-lock-lint.yml | 2 +- .github/workflows/ready-for-doc-review.yml | 2 +- .github/workflows/repo-sync.yml | 2 +- .gitignore | 1 + .node-version => .node-version-actions | 0 12 files changed, 11 insertions(+), 10 deletions(-) rename .node-version => .node-version-actions (100%) diff --git a/.github/actions/node-npm-setup/action.yml b/.github/actions/node-npm-setup/action.yml index 0de78da57b..127e53a766 100644 --- a/.github/actions/node-npm-setup/action.yml +++ b/.github/actions/node-npm-setup/action.yml @@ -15,7 +15,7 @@ runs: - name: Setup Node.js uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 with: - node-version-file: '.node-version' + node-version-file: '.node-version-actions' cache: npm - name: Install dependencies diff --git a/.github/workflows/azure-prod-build-deploy.yml b/.github/workflows/azure-prod-build-deploy.yml index a4147079f0..4821cbac00 100644 --- a/.github/workflows/azure-prod-build-deploy.yml +++ b/.github/workflows/azure-prod-build-deploy.yml @@ -58,7 +58,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 with: - node-version-file: '.node-version' + node-version-file: '.node-version-actions' cache: npm - name: Clone docs-early-access diff --git a/.github/workflows/azure-staging-build-deploy.yml b/.github/workflows/azure-staging-build-deploy.yml index 89624eddeb..c29279b501 100644 --- a/.github/workflows/azure-staging-build-deploy.yml +++ b/.github/workflows/azure-staging-build-deploy.yml @@ -76,7 +76,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 with: - node-version-file: '.node-version' + node-version-file: '.node-version-actions' cache: npm - name: Clone docs-early-access diff --git a/.github/workflows/browser-test.yml b/.github/workflows/browser-test.yml index d3cf5623b8..489a6388d4 100644 --- a/.github/workflows/browser-test.yml +++ b/.github/workflows/browser-test.yml @@ -54,7 +54,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 with: - node-version-file: '.node-version' + node-version-file: '.node-version-actions' cache: npm - name: Install dependencies diff --git a/.github/workflows/content-changes-table-comment.yml b/.github/workflows/content-changes-table-comment.yml index ed5b6fdb94..cbab2b6bcb 100644 --- a/.github/workflows/content-changes-table-comment.yml +++ b/.github/workflows/content-changes-table-comment.yml @@ -59,7 +59,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 with: - node-version-file: '.node-version' + node-version-file: '.node-version-actions' cache: npm - name: Install temporary dependencies diff --git a/.github/workflows/docs-review-collect.yml b/.github/workflows/docs-review-collect.yml index eba67ee379..85e7b39026 100644 --- a/.github/workflows/docs-review-collect.yml +++ b/.github/workflows/docs-review-collect.yml @@ -25,7 +25,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 with: - node-version-file: '.node-version' + node-version-file: '.node-version-actions' cache: npm - name: Install dependencies diff --git a/.github/workflows/os-ready-for-review.yml b/.github/workflows/os-ready-for-review.yml index 9b8f52bf6c..3449f485d7 100644 --- a/.github/workflows/os-ready-for-review.yml +++ b/.github/workflows/os-ready-for-review.yml @@ -49,7 +49,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 with: - node-version-file: '.node-version' + node-version-file: '.node-version-actions' cache: npm - name: Install dependencies diff --git a/.github/workflows/package-lock-lint.yml b/.github/workflows/package-lock-lint.yml index eedfea3229..b0c9c47fa4 100644 --- a/.github/workflows/package-lock-lint.yml +++ b/.github/workflows/package-lock-lint.yml @@ -30,7 +30,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 with: - node-version-file: '.node-version' + node-version-file: '.node-version-actions' cache: npm - name: Run check diff --git a/.github/workflows/ready-for-doc-review.yml b/.github/workflows/ready-for-doc-review.yml index 3519df1780..6d62cbd968 100644 --- a/.github/workflows/ready-for-doc-review.yml +++ b/.github/workflows/ready-for-doc-review.yml @@ -25,7 +25,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 with: - node-version-file: '.node-version' + node-version-file: '.node-version-actions' cache: npm - name: Install dependencies diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index 6521ea48a4..5a26bf8195 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -107,7 +107,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 with: - node-version-file: '.node-version' + node-version-file: '.node-version-actions' cache: npm - name: Install dependencies run: npm ci diff --git a/.gitignore b/.gitignore index 440d93fbab..91bc6ba226 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ coverage/ .eslintcache *.tsbuildinfo translations/ +.node-version # blc: broken link checker blc_output.log diff --git a/.node-version b/.node-version-actions similarity index 100% rename from .node-version rename to .node-version-actions