Skip to content

Commit

Permalink
Temporarily use the pre-build of grow's actions-v2 from a fork.
Browse files Browse the repository at this point in the history
  • Loading branch information
eason9487 committed May 16, 2024
1 parent f2ada27 commit e92dba1
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/branch-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set Labels
uses: woocommerce/grow/branch-label@actions-v2
uses: eason9487/grow/branch-label@actions-v2
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
uses: actions/checkout@v4

- name: Prepare PHP
uses: woocommerce/grow/prepare-php@actions-v2
uses: eason9487/grow/prepare-php@actions-v2
with:
install-deps: "no"

- name: Prepare node
uses: woocommerce/grow/prepare-node@actions-v2
uses: eason9487/grow/prepare-node@actions-v2
with:
node-version-file: ".nvmrc"
ignore-scripts: "no"
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:

- name: Publish dev build to GitHub
if: ${{ github.event_name == 'push' && github.ref_name == 'develop' }}
uses: woocommerce/grow/publish-extension-dev-build@actions-v2
uses: eason9487/grow/publish-extension-dev-build@actions-v2
with:
extension-asset-path: google-listings-and-ads.zip

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
uses: actions/checkout@v4

- name: Prepare PHP
uses: woocommerce/grow/prepare-php@actions-v2
uses: eason9487/grow/prepare-php@actions-v2
with:
install-deps: "no"

- name: Prepare node
uses: woocommerce/grow/prepare-node@actions-v2
uses: eason9487/grow/prepare-node@actions-v2
with:
node-version-file: ".nvmrc"
ignore-scripts: "no"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/js-css-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:
uses: actions/checkout@v4

- name: Prepare node
uses: woocommerce/grow/prepare-node@actions-v2
uses: eason9487/grow/prepare-node@actions-v2
with:
node-version-file: ".nvmrc"

- name: Prepare annotation formatter
uses: woocommerce/grow/eslint-annotation@actions-v2
uses: eason9487/grow/eslint-annotation@actions-v2

- name: Lint JavaScript and annotate linting errors
run: npm run lint:js -- --quiet --format ./eslintFormatter.cjs
Expand All @@ -49,12 +49,12 @@ jobs:
uses: actions/checkout@v4

- name: Prepare node
uses: woocommerce/grow/prepare-node@actions-v2
uses: eason9487/grow/prepare-node@actions-v2
with:
node-version-file: ".nvmrc"

- name: Prepare annotation formatter
uses: woocommerce/grow/stylelint-annotation@actions-v2
uses: eason9487/grow/stylelint-annotation@actions-v2

- name: Lint CSS and annotate linting errors
run: npm run lint:css -- --custom-formatter ./stylelintFormatter.cjs
2 changes: 1 addition & 1 deletion .github/workflows/js-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: actions/checkout@v4

- name: Prepare node
uses: woocommerce/grow/prepare-node@actions-v2
uses: eason9487/grow/prepare-node@actions-v2
with:
node-version-file: ".nvmrc"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/php-coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: actions/checkout@v4

- name: Prepare PHP
uses: woocommerce/grow/prepare-php@actions-v2
uses: eason9487/grow/prepare-php@actions-v2
with:
tools: cs2pr

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/php-hook-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# This generates the documentation string. The `id` property is used to reference the output in the next step.
- name: Generate hook documentation
id: generate-hook-docs
uses: woocommerce/grow/hook-documentation@actions-v2
uses: eason9487/grow/hook-documentation@actions-v2
with:
source-directories: src/,views/,google-listings-and-ads.php,uninstall.php

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/php-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ jobs:
steps:
- name: Get Release versions from Wordpress
id: wp
uses: woocommerce/grow/get-plugin-releases@actions-v2
uses: eason9487/grow/get-plugin-releases@actions-v2
with:
slug: wordpress
- name: Get Release versions from WooCommerce
id: wc
uses: woocommerce/grow/get-plugin-releases@actions-v2
uses: eason9487/grow/get-plugin-releases@actions-v2
with:
slug: woocommerce

Expand Down Expand Up @@ -84,13 +84,13 @@ jobs:
run: echo "generate_coverage=true" >> $GITHUB_ENV

- name: Prepare PHP
uses: woocommerce/grow/prepare-php@actions-v2
uses: eason9487/grow/prepare-php@actions-v2
with:
php-version: "${{ matrix.php }}"
coverage: "${{ env.generate_coverage == 'true' && 'xdebug' || 'none' }}"

- name: Prepare MySQL
uses: woocommerce/grow/prepare-mysql@actions-v2
uses: eason9487/grow/prepare-mysql@actions-v2

- name: Install WP tests
run: ./bin/install-wp-tests.sh wordpress_test root root localhost ${{ matrix.wp-version }} ${{ matrix.wc-versions }}
Expand Down Expand Up @@ -124,12 +124,12 @@ jobs:
uses: actions/checkout@v4

- name: Prepare PHP
uses: woocommerce/grow/prepare-php@actions-v2
uses: eason9487/grow/prepare-php@actions-v2
with:
php-version: "${{ inputs.php-version }}"

- name: Prepare MySQL
uses: woocommerce/grow/prepare-mysql@actions-v2
uses: eason9487/grow/prepare-mysql@actions-v2

- name: Install WP tests
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-qit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
name: google-listings-and-ads.zip
- name: Run QIT Tests
# Update it with more stable path once merged.
uses: woocommerce/grow/run-qit-extension@actions-v2
uses: eason9487/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 e92dba1

Please sign in to comment.