Chi-Hsuan Huang
ecff6cd680
Remove lint-test-js.yml
2022-03-29 16:38:06 +08:00
Chi-Hsuan Huang
73cb00907b
Remove unnecessary admin .github files
2022-03-25 14:26:37 +08:00
Christopher Allford
da6ad73d18
Add workflow to block merges to main
...
With the migration of the feature plugin into the `woocommerce/woocommerce` repository, we're going to use this workflow to block content from being merged into `main`.
2022-03-18 13:13:49 -07:00
renovate[bot]
17ef9c0533
Update actions/setup-node action to v2.5.1 ( https://github.com/woocommerce/woocommerce-admin/pull/8437 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 11:02:52 +08:00
renovate[bot]
2d706ebbd0
Update saulmaldonado/skip-workflow action to v1.1.1 ( https://github.com/woocommerce/woocommerce-admin/pull/8435 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 11:02:30 +08:00
Chi-Hsuan Huang
86fc8b62e5
Switch to pnpm ( https://github.com/woocommerce/woocommerce-admin/pull/8349 )
...
* Add pnpm-workspace.yaml
* Add missing dependencies & replace file: with workspace:* in
package.json
* Replace "npm" with "pnpm"
* Replace "npx" with "pnpx"
* Remove package-lock.json
* Add pnpm setup action to github workflows
* Update webpack babel exclude path
* Upgrade woo e2e and fix e2e test command
Update e2e.yml
Use pnpm run e2e:docker-up in e2e.yml
* Remove unused docker-compose.yaml
* Replace lerna with pnpm commands
Update publish commands
* Exclude _locutus_shared_bc.js in babel.config.js
* Add .npmrc to set enable-pre-post-scripts=true by default
* Fix storybook babel config
Update babel.config.js
* Add changelog
* Update pnpm-lock.yaml
* Replace pnpx with pnpm exec
* Update pnpm-lock.yaml
* Remove js-tests/package-lock.json
* Fix @woocommerce/tracks -> workspace:*
* Update pnpm-lock.yaml
* Add @woocommerce/experimental to onboarding/package.json
* Add "@woocommerce/component" to onboarding/package.json
* Update pnpm-lock.yaml
* Use || instead of && for "test:watch"
Co-authored-by: RJ <27843274+rjchow@users.noreply.github.com>
* Fix packages/number "clean" command
* Add root: true to .eslintrc.js to enforce it to use the root config file
* Exclude packages/**/node_modules from babel transpiling
* Fix js-tests build config
Co-authored-by: RJ <27843274+rjchow@users.noreply.github.com>
2022-03-04 12:01:16 +08:00
dependabot[bot]
cad71e98a0
Bump node-fetch from 2.6.1 to 2.6.7 in /.github/actions/pr-labeler ( https://github.com/woocommerce/woocommerce-admin/pull/8218 )
...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch ) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases )
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7 )
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-26 16:21:51 +08:00
Moon
b027461e44
Use WordPress 5.6 ( https://github.com/woocommerce/woocommerce-admin/pull/7843 )
2021-10-26 10:27:37 -07:00
louwie17
3b2cce8814
Include yoast phpunit polyfills in phpunit tests ( https://github.com/woocommerce/woocommerce-admin/pull/7695 )
...
* Include yoast phpunit polyfills in phpunit tests
* Do a normal composer install
* Use original composer.lock
* Remove the use of composer 1
* Fix asset url
* Fix failed test with file rename
* Make sure plugin_dir_url is pointing at a file
* Fix asset url take 3
* Fix lint error
2021-09-23 18:01:52 +08:00
renovate[bot]
9295de2bb6
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/7510 )
...
* Lock file maintenance
* Rework package lock to revert all deps that has @wordpress/elements@3.2.0 update
* Update lock again
* Add missing deps for woocommerce/onboarding
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2021-09-04 12:40:45 +08:00
Moon
7559f324f0
Bump the fallback WP version to 5.8.0 ( https://github.com/woocommerce/woocommerce-admin/pull/7532 )
2021-08-18 14:20:17 -07:00
Moon
3398e03999
Add missing ---> tag ( https://github.com/woocommerce/woocommerce-admin/pull/7494 )
2021-08-11 07:11:13 -07:00
renovate[bot]
c151950a6e
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/7448 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-10 09:53:30 -04:00
Moon
daf91d034c
use Jetpack Changelogger for changelog management ( https://github.com/woocommerce/woocommerce-admin/pull/6870 )
...
* use Jetpack Changelogger for changelog management
* Extends Jetpack Changelogger's write command
* Uses changelog.txt
* Add Enhancement
* Remove use of WriteCommand and implement parse() in the Formatter
* Remove bin/changelogger.php wrapper
* Use semver
* Fix spacing
* Fix typo
* changelog.txt update to match readme.txt
* changelog PR template
* remove changelog from readme.txt
Co-authored-by: Paul Sealock <psealock@gmail.com>
2021-07-08 19:03:51 -07:00
Tomek Wytrębowicz
e48fabe964
Update issue templates ( https://github.com/woocommerce/woocommerce-admin/pull/7088 )
...
- Use headings in issues templates,
instead of bold paragraphs.
To match with PR template, to improve readability and accessibility.
- Add the "Actual behavior" section.
The reviewer, would not have to get that from the description or test locally.
- Reorder sections,
Screenshots (and actual behavior) describes what you have immediately after you perform "steps to reproduce", so therefore could be stated there. It's hard to make a screenshot of the "expected behavior", which is not happening.
- Move section descriptions to comments.
This way the issuer could still keep them in place while filling the sections, answering those requests.
- Use ellipsis character instead of three dots.
To make it more readable, by fully sighted and visually impaired readers https://tosbourn.com/the-importance-of-using-the-ellipsis-character not to read it as "dot dot dot"
2021-07-06 11:46:33 +02:00
Sam Seay
abe7d9d39f
Attempt to remove fixed WP version in e2e. ( https://github.com/woocommerce/woocommerce-admin/pull/7111 )
2021-06-03 09:14:48 -03:00
Sam Seay
edc8a1bdc5
Publish storybook docs, remove react docgen based docs ( https://github.com/woocommerce/woocommerce-admin/pull/7055 )
2021-06-02 15:54:00 +12:00
Ilyas Foo
ff1e33bf9e
Temporarily hardcode e2e workflow to use WordPress 5.7.1 ( https://github.com/woocommerce/woocommerce-admin/pull/7054 )
2021-05-24 10:01:25 +08:00
renovate[bot]
d822515b2f
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/6959 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-11 14:01:24 +12:00
Ron Rennick
fe2dd7cc24
remove unnecessary vars from e2e action ( https://github.com/woocommerce/woocommerce-admin/pull/6826 )
2021-05-10 13:11:56 +12:00
renovate[bot]
9052c25461
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/6775 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-03 16:02:01 -03:00
louwie17
3ff1e1375e
Update E2E config to support screenshots on test failure ( https://github.com/woocommerce/woocommerce-admin/pull/6858 )
...
* Add login page wait script for e2e tests
* Re-navigate to login page, if initial selector does not exist
* Add screenshot if login page did not render
* Add screenshot code, and screenshot artifacts to GH action
* Update screenshot logic for login
* Update artifact task
* Update upload artifact workflow
* Update jest config to make sure the screenshots work on test failures
* Remove old screenshot code
* Add screenshots to daily e2e tests as well incase of failure
* Add changelog
2021-04-26 13:41:38 -03:00
louwie17
4141e5b59c
Deleted and re-generated package lock to fix packages ( https://github.com/woocommerce/woocommerce-admin/pull/6843 )
...
* Deleted and re-generated package lock to fix packages
* Add changelog
* Add sleep after docker:up
2021-04-22 12:18:15 -03:00
Jeff Stieler
a2e2db5ab6
Don't run Daily PHP tests on pull requests. ( https://github.com/woocommerce/woocommerce-admin/pull/6793 )
...
See: https://github.com/woocommerce/woocommerce-admin/pull/6715/files#r604712040
2021-04-13 12:04:43 -04:00
Adrian Duffell
7694bad218
Add Daily PHP Tests to CI ( https://github.com/woocommerce/woocommerce-admin/pull/6715 )
...
* Add daily PHP tests to CI
* Add support for WC_VERSION=latest env var
* Fix bug where wordpress used woocommerce version
2021-04-13 22:10:55 +08:00
renovate[bot]
5266784930
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/6631 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-09 14:02:06 +10:00
louwie17
b29cd9a6c0
Add support for php8 unit tests (locally and in GH actions) ( https://github.com/woocommerce/woocommerce-admin/pull/6678 )
...
* Partial local version to run php8 unit tests
* Remove the post install scripts
* Remove tab
* Make sure woocommerce version contains patch number
* Remove unnecessary script
* Update bin settings and unit test script
* Remove phpunit binary
* Updated how php unit is being run
* Add specific phpunit version for php8
* Update bin phpunit composer.json
* Final cleanup of scripts
* Fix potential test where image is an object
* Move setting image below save
* Add changelog
* Do not convert obj/array to string for email_actions
* Remove some uses of tabs
* Set WP and WC version to minimum php 8 supported
* Remove unnecessary composer install within tests
2021-04-07 14:28:03 -03:00
Adrian Duffell
be0afca544
Add Daily E2E Tests to CI ( https://github.com/woocommerce/woocommerce-admin/pull/6716 )
...
* Add daily E2E tests to CI
* Update command to start the E2E tests
* Remove pull_request triger
2021-04-06 14:02:13 +08:00
Sam Seay
9dd75e83f8
Improve page object encapsulation, refactor e2e suite, add more e2e tests. ( https://github.com/woocommerce/woocommerce-admin/pull/6682 )
2021-04-05 12:09:36 +12:00
Adrian Duffell
02e7d6870f
Remove CI tests for WooCommerce 4.7 ( https://github.com/woocommerce/woocommerce-admin/pull/6640 )
2021-03-24 08:51:12 +08:00
Sam Seay
5a54314e3a
Fix CI issues ( https://github.com/woocommerce/woocommerce-admin/pull/6576 )
...
* PHP unit tests were failing due to a change in the Github actions environment.
* E2E tests were failing because of that issue (they rely on port 8084 which is used in ubuntu 20 environment) and because of an issue with @woocommerce/e2e-environment
2021-03-12 14:14:35 +13:00
Sam Seay
bc0460ebae
Never skip changelog labelling, default to remove label. ( https://github.com/woocommerce/woocommerce-admin/pull/6553 )
2021-03-10 16:30:54 +13:00
Ilyas Foo
44020e3255
Fix renovate bot check in changelog lint ( https://github.com/woocommerce/woocommerce-admin/pull/6541 )
2021-03-10 10:09:37 +08:00
Sam Seay
42ed577632
Improve changelog linting automation ( https://github.com/woocommerce/woocommerce-admin/pull/6443 )
...
Don't run on renovate PRs and skip when an escape hatch is provided in PR description.
2021-02-25 13:19:04 +13:00
Sam Seay
7e4a2a6dc8
Add a changelog lint check and auto-labelling to PRs ( https://github.com/woocommerce/woocommerce-admin/pull/6414 )
2021-02-24 14:47:06 +13:00
renovate[bot]
d66becd674
Update actions/setup-node action to v2.1.5 ( https://github.com/woocommerce/woocommerce-admin/pull/6433 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-24 14:38:12 +13:00
Paul Sealock
993e236ce0
Update Minimum version in docs and test configs ( https://github.com/woocommerce/woocommerce-admin/pull/6342 )
...
* update min version in docs and tests
* update woocommerce-admin.php
* update docker versions
* one more 5.3
* Docker image: back to min versions
* fix main file's min PHP to 7.0, same as Woo Core and readme.txt
* docs/readme
* get_dependency_errors
2021-02-19 11:22:56 +13:00
Timmy Crawford
ebd9b5bb8e
Add all feature labels to stalebot exclusion list. ( https://github.com/woocommerce/woocommerce-admin/pull/6318 )
2021-02-15 11:53:50 -08:00
Sam Seay
6847c44869
Add the Mollie payment provider setup task ( https://github.com/woocommerce/woocommerce-admin/pull/6257 )
...
* Whitelist the mollie plugin and ensure it does not crash on activation.
* Improve error messages for failed plugin installs.
* Add the payment provider screen for the Mollie payment provider.
* Revert change to try/catch activation, its not needed.
* Move the whitelist of mollie to Onboarding.php.
* Add api fetch to dep list of components, update the node setup workflow on gh actions.
* Pass indsutry to the klarna tests to avoid a crash.
* Add some tests for the mollie payment method.
* Remove redundant change to handler.
* Add a changelog entry for the feature.
* fix name of option
* Add testing instructions
Co-authored-by: Rebecca Scott <me@becdetat.com>
2021-02-05 13:41:55 +10:00
Bec Scott
50304d683c
Add/testing instructions ( https://github.com/woocommerce/woocommerce-admin/pull/6256 )
...
* Add testing instructions
* test instructions for woocommerce/woocommerce-admin#5868
* test instructions for woocommerce/woocommerce-admin#6086
* testing instructions for woocommerce/woocommerce-admin#6094
* testing instructions for woocommerce/woocommerce-admin#5892
* testing instructions for woocommerce/woocommerce-admin#6122
* drop trailing line
* Add test instructions instruction to pull request template
2021-02-05 09:34:18 +10:00
Sam Seay
242bdb475d
Migrate the Travis unit test suite to Github actions ( https://github.com/woocommerce/woocommerce-admin/pull/6164 )
...
Add a matrix of tests against WP and WC versions and migrate the lint and js test to separate jobs.
2021-02-01 15:24:11 +13:00
Sam Seay
053db8512c
Turn on stalebot. ( https://github.com/woocommerce/woocommerce-admin/pull/6154 )
2021-01-27 00:01:14 +13:00
Sam Seay
592a4f2491
Make stale bot use 60 days for PRs and issues ( https://github.com/woocommerce/woocommerce-admin/pull/6152 )
2021-01-22 16:47:52 +13:00
Adrian Duffell
fdb1a4c7e3
Update stale action to use ascending order ( https://github.com/woocommerce/woocommerce-admin/pull/6151 )
...
This ensures the oldest issues/PRs are processed first
2021-01-22 08:53:41 +08:00
Sam Seay
5799daafd7
Increase the max ops per run so we can see everything it will mark stale. ( https://github.com/woocommerce/woocommerce-admin/pull/6149 )
2021-01-22 13:31:12 +13:00
Sam Seay
52f00e6ceb
Go to v3 of stale action. ( https://github.com/woocommerce/woocommerce-admin/pull/6147 )
2021-01-22 13:02:40 +13:00
Sam Seay
ea2b01f65a
Add a stale check to PRs and issues (as a dry run for now). ( https://github.com/woocommerce/woocommerce-admin/pull/6082 )
2021-01-21 21:21:54 +13:00
renovate[bot]
d12fb1cc9a
Update shivammathur/setup-php action to v2.9.0 ( https://github.com/woocommerce/woocommerce-admin/pull/6011 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-07 12:51:43 +13:00
Timmy Crawford
522c31b454
Add label-sync package and config. ( https://github.com/woocommerce/woocommerce-admin/pull/5981 )
2020-12-30 12:36:29 -08:00
Paul Sealock
8b0e058bfe
Add changlog instructions ( https://github.com/woocommerce/woocommerce-admin/pull/5769 )
...
* Add changlog instructions
* handle packages
2020-12-02 15:18:43 +13:00