Concordium / concordium-dapp-libraries

A coherent set of building blocks for making it as easy as possible for developers to build web-based dApps.
Apache License 2.0
7 stars 5 forks source link

CI: Add workflow for testing libs and document release workflow #38

Closed bisgardo closed 1 year ago

bisgardo commented 1 year ago

Purpose

Avoid bad/incomplete changes to get merged into main or detected when they are.

Changes

Add CI workflow for checking formatting and running build and tests in all workspaces. The workflow is automatically triggered on updates to PRs or merges/direct pushes to main.

The project doesn't actually contain any tests atm., but once added, this ensures that they get checked.

bisgardo commented 1 year ago

Checked that both bad formatting and build error is caught.

bisgardo commented 1 year ago

... and that yarn.lock must be in sync.