diff --git a/plugins/woocommerce-blocks/.github/workflows/bundle-size.yml b/plugins/woocommerce-blocks/.github/workflows/bundle-size.yml index 8bd974cc910..2b0ac877bce 100644 --- a/plugins/woocommerce-blocks/.github/workflows/bundle-size.yml +++ b/plugins/woocommerce-blocks/.github/workflows/bundle-size.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 1 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' - uses: preactjs/compressed-size-action@8a15fc9a36a94c8c3f7835af11a4924da7e95c7c diff --git a/plugins/woocommerce-blocks/.github/workflows/check-doc-links.yml b/plugins/woocommerce-blocks/.github/workflows/check-doc-links.yml index 0bc694a4131..8a4be5a935a 100644 --- a/plugins/woocommerce-blocks/.github/workflows/check-doc-links.yml +++ b/plugins/woocommerce-blocks/.github/workflows/check-doc-links.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v3 - name: Install Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: 'npm' diff --git a/plugins/woocommerce-blocks/.github/workflows/check-modified-assets.yml b/plugins/woocommerce-blocks/.github/workflows/check-modified-assets.yml index 0c5cbbd485f..723f7dd7def 100644 --- a/plugins/woocommerce-blocks/.github/workflows/check-modified-assets.yml +++ b/plugins/woocommerce-blocks/.github/workflows/check-modified-assets.yml @@ -25,7 +25,7 @@ jobs: ${{ runner.os }}- - name: Setup node version and npm cache - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: 'npm' @@ -63,7 +63,7 @@ jobs: ${{ runner.os }}- - name: Setup node version and npm cache - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: 'npm' diff --git a/plugins/woocommerce-blocks/.github/workflows/community-contributor.yml b/plugins/woocommerce-blocks/.github/workflows/community-contributor.yml index 7dab720caca..efa9221d8fb 100644 --- a/plugins/woocommerce-blocks/.github/workflows/community-contributor.yml +++ b/plugins/woocommerce-blocks/.github/workflows/community-contributor.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v3 - name: Setup Node.js - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 - name: npm install run: npm install -D diff --git a/plugins/woocommerce-blocks/.github/workflows/flaky-tests.yml b/plugins/woocommerce-blocks/.github/workflows/flaky-tests.yml index 1eec427783d..3235c0348b1 100644 --- a/plugins/woocommerce-blocks/.github/workflows/flaky-tests.yml +++ b/plugins/woocommerce-blocks/.github/workflows/flaky-tests.yml @@ -20,7 +20,7 @@ jobs: ref: trunk - name: Use desired version of NodeJS - uses: actions/setup-node@5b52f097d36d4b0b2f94ed6de710023fbb8b2236 # v3.1.0 + uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 with: node-version-file: '.nvmrc' cache: npm diff --git a/plugins/woocommerce-blocks/.github/workflows/generate-zip.yml b/plugins/woocommerce-blocks/.github/workflows/generate-zip.yml index eeddaa0de32..586ff01b39e 100644 --- a/plugins/woocommerce-blocks/.github/workflows/generate-zip.yml +++ b/plugins/woocommerce-blocks/.github/workflows/generate-zip.yml @@ -20,7 +20,7 @@ jobs: key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} - name: Setup node version and npm cache - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: 'npm' diff --git a/plugins/woocommerce-blocks/.github/workflows/js-css-md-linting.yml b/plugins/woocommerce-blocks/.github/workflows/js-css-md-linting.yml index 214a298c622..75ca3655a89 100644 --- a/plugins/woocommerce-blocks/.github/workflows/js-css-md-linting.yml +++ b/plugins/woocommerce-blocks/.github/workflows/js-css-md-linting.yml @@ -28,7 +28,7 @@ jobs: key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} - name: Setup node version and npm cache - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: 'npm' @@ -55,7 +55,7 @@ jobs: key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} - name: Setup node version - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' @@ -91,7 +91,7 @@ jobs: key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} - name: Setup node version - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' @@ -106,7 +106,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Setup node version and npm cache - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: 'npm' diff --git a/plugins/woocommerce-blocks/.github/workflows/nightly-builds.yml b/plugins/woocommerce-blocks/.github/workflows/nightly-builds.yml index c5716ddfaa6..a5a7f178053 100644 --- a/plugins/woocommerce-blocks/.github/workflows/nightly-builds.yml +++ b/plugins/woocommerce-blocks/.github/workflows/nightly-builds.yml @@ -23,7 +23,7 @@ jobs: ref: ${{ matrix.build }} - name: Install Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' diff --git a/plugins/woocommerce-blocks/.github/workflows/php-js-e2e-tests.yml b/plugins/woocommerce-blocks/.github/workflows/php-js-e2e-tests.yml index 584a6222840..afd26b6d38b 100644 --- a/plugins/woocommerce-blocks/.github/workflows/php-js-e2e-tests.yml +++ b/plugins/woocommerce-blocks/.github/workflows/php-js-e2e-tests.yml @@ -27,7 +27,7 @@ jobs: key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} - name: Setup node version and npm cache - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: 'npm' @@ -111,7 +111,7 @@ jobs: ${{ runner.os }}-modified- - name: Setup node version and npm cache - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: 'npm' diff --git a/plugins/woocommerce-blocks/.github/workflows/playwright.yml b/plugins/woocommerce-blocks/.github/workflows/playwright.yml index ab715b9ef0d..90202ccab89 100644 --- a/plugins/woocommerce-blocks/.github/workflows/playwright.yml +++ b/plugins/woocommerce-blocks/.github/workflows/playwright.yml @@ -35,7 +35,7 @@ jobs: ${{ runner.os }}-modified- - name: Setup node version and npm cache - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: 'npm' diff --git a/plugins/woocommerce-blocks/.github/workflows/typescript-monitoring.yml b/plugins/woocommerce-blocks/.github/workflows/typescript-monitoring.yml index 0c9d8de6789..7a997fd4f56 100644 --- a/plugins/woocommerce-blocks/.github/workflows/typescript-monitoring.yml +++ b/plugins/woocommerce-blocks/.github/workflows/typescript-monitoring.yml @@ -25,7 +25,7 @@ jobs: ${{ runner.OS }}-build-${{ secrets.CACHE_VERSION }}- - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: 'npm' diff --git a/plugins/woocommerce-blocks/.github/workflows/unit-tests.yml b/plugins/woocommerce-blocks/.github/workflows/unit-tests.yml index 585bfa3121f..33ac82d7abf 100644 --- a/plugins/woocommerce-blocks/.github/workflows/unit-tests.yml +++ b/plugins/woocommerce-blocks/.github/workflows/unit-tests.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v3 - name: Use desired version of NodeJS - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: npm @@ -66,7 +66,7 @@ jobs: - uses: actions/checkout@v3 - name: Set up Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: npm