sporeprotocol / spore-sdk

The Ultimate TypeScript SDK for Spore Protocol
https://docs.spore.pro
MIT License
13 stars 11 forks source link

chore: add release/test workflows for github ci #37

Closed ShookLyngs closed 12 months ago

ShookLyngs commented 12 months ago

Changes

Relevant todos

Extras

The turbo issue

@ahonn reported that after the pnpm run build:packages command, the lib folder only contains a few files instead of the full expected content. I identified that the issue was related to the malfunctioning of turbo run. The problem was resolved after I cleared the repository cache.

To prevent this from happening again, I have created the release workflow. Running it in the GitHub CI (a clean environment) should help prevent such issues. When a bump commit has been merged, we can trigger the release workflow manually.

Disable test by default

The test workflow should fail at this point because not all tests are ready to run in automation. Therefore, I believe the test workflow should be disabled by default until the tests are well organized/updated.