supertokens-node
supertokens-node copied to clipboard
ci: backend-sdk-testing
Summary of change
- Migrates backend-sdk-testing tests to use a containerized core
- Migrates unit tests from CircleCI to Github Actions
- Adds a docker compose file to run the core
- Adds missing test endpoint to reset logs
Related issues
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!)
Documentation changes
(If relevant, please create a PR in our docs repo, or create a checklist here highlighting the necessary changes)
Checklist for important updates
- [x] Changelog has been updated
- [ ]
coreDriverInterfaceSupported.jsonfile has been updated (if needed)- Along with the associated array in
lib/ts/version.ts
- Along with the associated array in
- [ ]
frontendDriverInterfaceSupported.jsonfile has been updated (if needed) - [x] Changes to the version if needed
- In
package.json - In
package-lock.json - In
lib/ts/version.ts
- In
- [x] Had run
npm run build-pretty - [x] Had installed and ran the pre-commit hook
- [ ] If new thirdparty provider is added,
- [ ] update switch statement in
recipe/thirdparty/providers/configUtils.tsfile,createProviderfunction. - [ ] add an icon on the user management dashboard.
- [ ] update switch statement in
- [ ] Issue this PR against the latest non released version branch.
- To know which one it is, run find the latest released tag (
git tag) in the formatvX.Y.Z, and then find the latest branch (git branch --all) whoseX.Yis greater than the latest released tag. - If no such branch exists, then create one from the latest released branch.
- To know which one it is, run find the latest released tag (
- [ ] If have added a new web framework, update the
add-ts-no-check.jsfile to include that - [ ] If added a new recipe / api interface, then make sure that the implementation of it uses NON arrow functions only (like
someFunc: function () {..}). - [ ] If added a new recipe, then make sure to expose it inside the recipe folder present in the root of this repo. We also need to expose its types.
- [ ] If added a new entry point, then make sure that it is importable by adding it to the
exportsinpackage.json