From 466eb96380cc01642fb2c6d286bf45a6b2a090ad Mon Sep 17 00:00:00 2001 From: Colin Rotherham Date: Thu, 14 Dec 2023 17:53:47 +0000 Subject: [PATCH] Test fix to `actions/setup-node` https://github.com/actions/setup-node/issues/878#issuecomment-1853764840 --- .github/workflows/actions/setup-node/action.yml | 2 +- .github/workflows/sass.yaml | 8 ++++---- .github/workflows/tests.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/actions/setup-node/action.yml b/.github/workflows/actions/setup-node/action.yml index cc5ac5a92b..98d9b5e10d 100644 --- a/.github/workflows/actions/setup-node/action.yml +++ b/.github/workflows/actions/setup-node/action.yml @@ -11,7 +11,7 @@ runs: steps: - name: Setup Node.js - uses: actions/setup-node@v3.8.2 + uses: actions/setup-node@main id: setup-node with: diff --git a/.github/workflows/sass.yaml b/.github/workflows/sass.yaml index 4e5fcd4220..1428ed2976 100644 --- a/.github/workflows/sass.yaml +++ b/.github/workflows/sass.yaml @@ -25,7 +25,7 @@ jobs: uses: actions/checkout@v4.1.1 - name: Setup Node.js - uses: actions/setup-node@v3.8.2 + uses: actions/setup-node@main with: cache: npm node-version: 8 # Node.js 8 supported by Dart Sass v1.0.0 @@ -47,7 +47,7 @@ jobs: uses: actions/checkout@v4.1.1 - name: Setup Node.js - uses: actions/setup-node@v3.8.2 + uses: actions/setup-node@main with: cache: npm node-version-file: .nvmrc # Node.js project version must support Dart Sass v1 @@ -76,7 +76,7 @@ jobs: uses: actions/checkout@v4.1.1 - name: Setup Node.js - uses: actions/setup-node@v3.8.2 + uses: actions/setup-node@main with: cache: npm node-version: 4 # Node.js 4 supported by Node Sass v3.4.0 @@ -99,7 +99,7 @@ jobs: uses: actions/checkout@v4.1.1 - name: Setup Node.js - uses: actions/setup-node@v3.8.2 + uses: actions/setup-node@main with: cache: npm node-version-file: .nvmrc # Node.js project version must support Node Sass v8.x diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e30e200bb3..ee71c005ca 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -275,7 +275,7 @@ jobs: uses: ./.github/workflows/actions/build - name: Change Node.js version - uses: actions/setup-node@v3.8.2 + uses: actions/setup-node@main with: node-version: ${{ matrix.node-version }}