Skip to content

Commit

Permalink
Merge pull request woocommerce#135 from woocommerce/update/108-nodejs…
Browse files Browse the repository at this point in the history
…-v20-repo-workflows

Upgrade the workflows in this repo's GitHub Actions to use Node.js v20
  • Loading branch information
eason9487 committed May 17, 2024
2 parents 1a535b3 + a6b1d32 commit e90d0f0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/js-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/php-coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-qit-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit e90d0f0

Please sign in to comment.