From a6b1d32879ef60034a255e4c17e9184feb078c51 Mon Sep 17 00:00:00 2001 From: Eason Su Date: Mon, 13 May 2024 14:49:46 +0800 Subject: [PATCH] Upgrade the actions in this repo's workflows to Node.js v20. --- .github/workflows/js-linting.yml | 6 +++--- .github/workflows/php-coding-standards.yml | 4 ++-- .github/workflows/run-qit-all.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/js-linting.yml b/.github/workflows/js-linting.yml index cc2a9d96..6dbdd242 100644 --- a/.github/workflows/js-linting.yml +++ b/.github/workflows/js-linting.yml @@ -27,15 +27,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Prepare node - uses: woocommerce/grow/prepare-node@actions-v1 + uses: woocommerce/grow/prepare-node@actions-v2 with: node-version-file: .nvmrc - name: Prepare annotation formatter - uses: woocommerce/grow/eslint-annotation@actions-v1 + uses: woocommerce/grow/eslint-annotation@actions-v2 # Turn off import/no-unresolved rule since this check doesn't install packages for all sub-packages. - name: Lint JavaScript and annotate linting errors diff --git a/.github/workflows/php-coding-standards.yml b/.github/workflows/php-coding-standards.yml index d0cafb4b..c47c39ca 100644 --- a/.github/workflows/php-coding-standards.yml +++ b/.github/workflows/php-coding-standards.yml @@ -22,10 +22,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Prepare PHP - uses: woocommerce/grow/prepare-php@actions-v1 + uses: woocommerce/grow/prepare-php@actions-v2 with: php-version: 7.4 tools: cs2pr diff --git a/.github/workflows/run-qit-all.yml b/.github/workflows/run-qit-all.yml index 80f37b5d..3f0873c4 100644 --- a/.github/workflows/run-qit-all.yml +++ b/.github/workflows/run-qit-all.yml @@ -69,7 +69,7 @@ jobs: extension: [automatewoo, automatewoo-birthdays, automatewoo-referrals, google-listings-and-ads, woocommerce-google-analytics-integration] steps: - name: Run QIT - uses: woocommerce/grow/run-qit-extension@actions-v1 + uses: woocommerce/grow/run-qit-extension@actions-v2 with: qit-partner-user: ${{ secrets.QIT_PARTNER_USER }} qit-partner-secret: ${{ secrets.QIT_PARTNER_SECRET }}