257 Commits

Author SHA1 Message Date
Shahed Nasser
64ebece3b4 fix: fixed remove announcement bar action (#2281) 2022-09-30 13:06:56 +03:00
Shahed Nasser
6adaf56c73 docs: integrate Vale for documentation linting (#2242)
* added value rules

* resolved errors raised by vale

* added github action

* fixes to github action

* added details in contribution guidelines

* added rule for numbers

* limited checks to errors
2022-09-22 13:12:09 +03:00
Shahed Nasser
31fb4c3d3f docs: automated announcement bar (#2231) 2022-09-20 10:21:24 +03:00
Shahed Nasser
076b41bb89 fix(docs): API reference bugs (#2119)
* fixed shipping method tax line schema name

* added dry run option to build openapi script

* fixed summary of endpoints

* fixed title of endpoint
2022-08-29 14:25:17 +03:00
Shahed Nasser
a8293af8e1 fix: overlapping branch names for generated PRs of references (#2097)
* fix overlapping branch names of generated references

* regenerate references
2022-08-25 17:47:58 +03:00
Carlos R. L. Rodrigues
ffd6234356 chore(integration): throw errors on catch blocks (#2091)
Why:
Suppressing errors and not failing the execution will lead to misleading errors of the following tests.

Fixes CORE-461
2022-08-25 06:36:24 +00:00
Carlos R. L. Rodrigues
690ca9e89a chore(integration-tests): Normalize DB config + use single process (#2077) 2022-08-24 12:29:53 +02:00
Shahed Nasser
4a416e7fa5 docs: added entity reference (#2047)
* added entity reference

* chore: added github action

* added link to reference
2022-08-15 15:54:48 +03:00
Shahed Nasser
73383cc466 chore(docs): Refactor API Reference (#1883) 2022-08-05 14:06:12 +02:00
Shahed Nasser
37423d3e91 chore: increase node version for docs test (#1998) 2022-08-04 18:58:48 +03:00
Shahed Nasser
02d5c1da88 docs: update Typedoc and regenerate references (#1994)
* generated new services reference

* changed from automatic push to automated pull request

* updated typedoc, regenerated JS Client reference

* regenerated the reference after updating typedoc

* added action for js client
2022-08-04 17:29:52 +03:00
olivermrbl
77ef28d274 Merge branch 'master' into develop 2022-08-03 18:03:14 +02:00
Adrien de Peretti
8dd85e5f03 chore: Improve health checks to avoid waiting 10 sec (#1888)
**What**
Sometimes the some integration tests that are depending on external services are failing due to timeout.

One of the reason is that the health check is done every 10 sec with a timeout of 5sec, which can lead to long waiting time before continuing

FIXED CORE-326
2022-07-26 13:44:21 +00:00
Shahed Nasser
6ed97e2ae0 chore: fix docs test error (#1866) 2022-07-18 15:30:13 +03:00
Shahed Nasser
e134f6d237 chore: fixed commit branch on generate reference action (#1857)
* fixed commit branch

* fixes after yarn upgrade
2022-07-15 18:08:07 +03:00
Sebastian Rindom
e539bdc620 chore: Fix CI pipeline (#1839) 2022-07-12 20:14:34 +02:00
olivermrbl
fb0346f1fa fix: Merge conflicts 2022-07-12 09:29:41 +02:00
Zakaria El Asri
9fa4238ee4 chore: improve ci pipeline (#1764)
* fix: caching deps + add true parallelization to integration tests api

* fix: github action

* chore: upgrade to yarn berry (#1762)

* init migration

* remove: yarn.lock from all pkgs

* fix: build script in pkgs

* adjust yarn config

* fix: yarn.lock and yarnrc.yml

* fix: github actions

* fix: wrong type

* fix (medusa-react): use dts-cli instead of tsdx

* fix: yarn.lock

* fix: yarn v

* fix: prepare script

* add: comment on why we need to downgrade yarn before medusa-dev

* chore: move to Turborepo (#1763)

* increase number of parallel nodes

* fix (medusa-fulfillment-webshipper): build script

* fix: use new version of medusa-dev

* fix: rename cache-bootstrap to cache-deps
2022-07-10 12:11:11 +02:00
Shahed Nasser
df2e7f1b37 chore: ignore directory paths (#1808) 2022-07-06 17:13:47 +03:00
Shahed Nasser
d52af01f1c chore: change workflow trigger condition (#1806) 2022-07-06 15:00:09 +03:00
Shahed Nasser
25c9bfa24d chore: changed commit message on Generate Reference action (#1803) 2022-07-06 13:37:07 +03:00
Shahed Nasser
583a66a074 chore: Add token to generate reference action (#1794) 2022-07-05 19:56:37 +02:00
olivermrbl
915359d84b chore: fix yarn.lock conflicts 2022-07-05 10:17:09 +02:00
Oliver Windall Juhl
19a715d217 chore: Add contact links to issue overview (#1680) 2022-07-02 17:49:21 +02:00
Zakaria El Asri
55978e9e81 add: changesets + snapshot-this action (#1746)
* add: changesets + snapshot-this action

* add: changeset folder

* add: action credits
2022-06-30 11:07:18 +02:00
Zakaria El Asri
5077cdf0da chore: add kodiak (#1745)
* add: kodiak

* add: notify_on_conflict and move to .github
2022-06-30 10:59:50 +02:00
Philip Korsholm
bf47d1aecd feat(medusa): Add batch strategy for order exports (#1603) 2022-06-29 09:54:37 +02:00
Adrien de Peretti
7b09b8c36c feat(medusa/product-export-strategy): Implement the Product export strategy (#1688) 2022-06-22 23:42:31 +02:00
Shahed Nasser
42fc9cbab2 chore: GitHub action testing Docusaurus documentation (#1695) 2022-06-21 11:32:26 +02:00
olivermrbl
c85ef984cc Merge branch 'master' into develop 2022-06-19 12:59:08 +02:00
Shahed Nasser
6e96c7fccb chore: Added issue template for docs (#1665)
* added integration

* add segment for API reference

* updated frontend checkout flow

* added documentation for entities

* docs: disable running tests for docs

* added docs contribution guidelines

* Use npm2yarn where missing

* added additional steps section

* added notification overview

* Added guidelines for sidebar labels

* added how to create notification provider

* added issue template for docs

* added emoji

* chore(deps): bump sqlite3 from 5.0.2 to 5.0.3 (#1453)

Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/TryGhost/node-sqlite3/releases)
- [Changelog](https://github.com/TryGhost/node-sqlite3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TryGhost/node-sqlite3/compare/v5.0.2...v5.0.3)

* fix: Issue with cache in CI pipeline

* Use npm2yarn where missing

* added integration

* add segment for API reference

* fix double segment

* updated frontend checkout flow

* added documentation for entities

* added docs contribution guidelines

* Added guidelines for sidebar labels

* added additional steps section

* added notification overview

* added how to create notification provider

* chore: Add issue template for bug reports (#1676)

* chore: Add issue template for feature requests (#1679)

* docs: fixes in shipping, payment, and other documentations

* added integration

* add segment for API reference

* updated frontend checkout flow

* added paypal documentation

* Improve storefront quickstart documents

* added documentation for entities

* docs: disable running tests for docs

* added docs contribution guidelines

* Use npm2yarn where missing

* added additional steps section

* added notification overview

* Added guidelines for sidebar labels

* added how to create notification provider

* fixes

* fixes for payment provider

* fixes

* chore(deps): bump sqlite3 from 5.0.2 to 5.0.3 (#1453)

Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/TryGhost/node-sqlite3/releases)
- [Changelog](https://github.com/TryGhost/node-sqlite3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TryGhost/node-sqlite3/compare/v5.0.2...v5.0.3)

* fix: Issue with cache in CI pipeline

* Use npm2yarn where missing

* added integration

* add segment for API reference

* fix double segment

* updated frontend checkout flow

* added documentation for entities

* added docs contribution guidelines

* Added guidelines for sidebar labels

* added additional steps section

* added notification overview

* added how to create notification provider

* chore: Add issue template for bug reports (#1676)

* chore: Add issue template for feature requests (#1679)

* fixes

* fixes for payment provider

* fixes

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

* added issue template for docs

* added emoji

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2022-06-17 13:13:01 +03:00
Philip Korsholm
aca90a47ac Feat(medusa): Integration testing of cli (#1689)
* add initial testing files

* prepare for github

* remove empty files

* remove ids

* set user and password for postgres service

* remove node setup

* remove unused flag from yarn install

* correct medusajs package

* arguments for create-medusa project

* make create command into one line

* working directory update

* update workflow

* add build

* run scripts from medusa-cli

* move scripts to medusa-cli

* add install

* get server output

* rename build to install

* update login script to get feedback

* add arguments to login script

* add argument for directory to get-product

* pass cli-test to get-products script

* add wait command

* fix waiting

* update wait-for-server

* echo status

* update start testing

* refactor code into test-action

* add list config for testing

* include shell

* update get-products script

* test to see if action fails when given wrong input

* use custom action for testing devleopment server and extend waiting for server to spin up

* update actions

* remove cache version

* yarn and build in cli-test directory

* update core

* update working directories

* test working dir after cd up

* update

* fix directories

* update directories

* use setup server action

* invoke correct action

* test

* update cli action

* remove action

* test with medusa-dev

* remove medusa dev for now

* test

* include medusa-dev

* remove invalid medusa new command

* try moving project one dir up

* add silent to curl output from live server wait

* update seed data directory

* test

* remove sub workflow

* add matrix and postgres override for medusa-config

* fix matrix syntax

* add database url to job

* update yaml

* cli should fail on logging in

* create setup server action

* update test-server

* update scripts

* run scripts directory instead of cli scripts

* make directories current

* remove tests from cli

* run only on pr

* update name

* remove batch job model (for testing purposes)

* remove ls from test server action

* get content from develop

* undo changes to generate reference

* remove comments from scripts

* test failing command

* redo migrate command failing

* move scripts into interation tests

* Apply suggestions from code review

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2022-06-17 11:53:41 +02:00
Oliver Windall Juhl
2c266302c8 chore: Add issue template for feature requests (#1679) 2022-06-17 09:50:40 +02:00
Oliver Windall Juhl
35a1733073 chore: Add issue template for bug reports (#1676) 2022-06-17 09:50:23 +02:00
Shahed Nasser
5af629a10b docs: disable running tests for docs 2022-06-02 12:07:12 +03:00
Shahed Nasser
c87ddd73ff docs: Add Services reference (#1548) 2022-06-01 18:33:08 +02:00
Zakaria El Asri
33426ddb4c fix: make plugin tests run with integration test suites (#1101)
* fix: make plugin tests run with integration test suites"

* add: plugins to test pipeline

* add: run integration tests on different jobs + fix failing test command

* fix: typo

* fix: pipeline
2022-02-25 16:39:28 +01:00
Zakaria El Asri
2e384842d5 feat: medusa-react admin hooks (#978)
* add: medusa admin hooks + tests

* fix: remove unneeded props

* fix: deps

* fix: deps

* fix: deps

* fix: failing tests

* fix: failing tests

* fix: query key

* add: yarn workspaces

* fix: linting medusa-react

* fix: add prepare script

* fix: buildOptions

* fix: useAdminShippingOptions query

* fix: use qs instead for query params (#1019)

* fix: formatting

* debug: ci pipeline

* debug: log node_modules structure

* debug: use lerna bootstrap

* debug: update node version

* debug: print pkgs in workspace

* debug: print pkgs in workspace

* debug: print pkgs in workspace

* debug: print pkgs in workspace

* debug: add explicit build step

* fix: jsdoc

* debug: run build step

* debug: fix build errors

* debug: add build step to integration tests

* fix: failing test

* cleanup

Co-authored-by: Sebastian Rindom <seb@medusajs.com>
Co-authored-by: Sebastian Rindom <skrindom@gmail.com>
2022-02-02 17:10:56 +01:00
Zakaria El Asri
69620e572e chore: parallelize integration tests and use template dbs (#907) 2021-12-14 21:45:57 +01:00
Philip Korsholm
649d8d34aa Feat:cancel previous actions on push (#707) 2021-11-03 13:16:12 +01:00
Philip Korsholm
fbf94b8824 Update action.yml 2021-10-21 21:04:17 +02:00
Philip Korsholm
cf6d63c41a Update action.yml 2021-10-21 20:58:39 +02:00
Philip Korsholm
d27649752b Update action.yml 2021-10-21 20:17:14 +02:00
Philip Korsholm
1bd13a6dd7 update cache number 2021-10-21 17:43:17 +02:00
Philip Korsholm
1b0dd60a33 Feat/new actions (#586)
* test

* test

* create integration testing workflow

* Create unit-testing.yml

* Rename integration-testing to integration-testing.yml

* initial testing

* Update assert-changed-files.sh

* Update integration-testing.yml

* Update unit-testing.yml

* Update assert-changed-files.sh

* Delete integration-testing.yml

* Update assert-changed-files.sh

* Update assert-changed-files.sh

* Update assert-changed-files.sh

* Update order.js

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Create cache-bootstrap.yml

* Update cache-bootstrap.yml

* Update cache-bootstrap.yml

* Update cache-bootstrap.yml

* Update unit-testing.yml

* extracted action

* corrected ext. name for int. tests

* checked out actions

* added fetching of actions

* updated

* updated

* moved package

* updated

* Update action.yml

* Update action.yml

* ended if statement

* updated

* updated

* removed error

* updated cache version

* update

* updated to more strict cache policy

* update

* updated

* updated

* update

* update

* update

* update

* update

* update

* update

* update

* updated to also include on PR

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* removed current branch from diff

* updated comment

* Update action.yml

* Update action.yml

* Update action.yml

* save before merge

* Update action.yml

* Update product.js

* Update product.js

* Update action.yml

* Update action.yml

* Update action.yml

* Update action.yml

* Update assert-changed-files-actions.sh

* Update assert-changed-files-actions.sh

* Update product-variant.js

* Update product.js

* Update product.js

* cleanup

Co-authored-by: Sebastian Mateos Nicolajsen <80953876+sebastiannicolajsen@users.noreply.github.com>
Co-authored-by: Sebastian M. Nicolajsen <sebastian.m.nicolajsen@gmail.com>
2021-10-21 17:15:29 +02:00
Philip Korsholm
6a02090287 Update action.yml 2021-10-21 14:53:21 +02:00
Philip Korsholm
0a11cf51d3 Update action.yml 2021-10-21 14:50:15 +02:00
Philip Korsholm
816b45baf7 Update action.yml 2021-10-21 14:24:04 +02:00
Philip Korsholm
5fa3892e4f Update action.yml 2021-10-21 14:19:31 +02:00
Philip Korsholm
2126a5e5d2 Update action.yml 2021-10-21 14:16:25 +02:00