Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release workflow for monorepo #139

Merged
merged 8 commits into from
Jan 11, 2023
Merged

Release workflow for monorepo #139

merged 8 commits into from
Jan 11, 2023

Conversation

kristianjokela
Copy link
Contributor

@kristianjokela kristianjokela commented Jan 10, 2023

Description

Setup Release Please Github workflow for automating changelogs,
versioning and releases for the apps and components in this repo.

In order for this to work, all commits need to be in conventional commits style.

After a PR with changes is merged to master, the workflow will detect changes and create a "Release PR" with the changes related to the app/component. These Release PR's will accumulate changes and update their versions until they're merged. After merging, the Release PR will create a version tag, which should trigger a release action just like creating a tag manually and pushing would. Tags are prefixed with the component name, as defined in the package.json.

This is just the basic setup and might need some tweaking still.

Issues

Closes

HH-280:

Related

Testing

Automated tests

Manual testing

Screenshots

Additional notes

@codecov-commenter
Copy link

codecov-commenter commented Jan 10, 2023

Codecov Report

Merging #139 (d0454d5) into main (3152959) will increase coverage by 1.28%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #139      +/-   ##
==========================================
+ Coverage   57.12%   58.40%   +1.28%     
==========================================
  Files         269      372     +103     
  Lines        6316     8677    +2361     
  Branches     1434     1962     +528     
==========================================
+ Hits         3608     5068    +1460     
- Misses       2566     3384     +818     
- Partials      142      225      +83     
Impacted Files Coverage Δ
apps/sports-helsinki/src/assets/icons/IconArt.tsx 0.00% <0.00%> (-100.00%) ⬇️
apps/sports-helsinki/src/assets/icons/IconFood.tsx 0.00% <0.00%> (-100.00%) ⬇️
apps/sports-helsinki/src/assets/icons/IconRead.tsx 0.00% <0.00%> (-100.00%) ⬇️
...pps/sports-helsinki/src/assets/icons/IconCraft.tsx 0.00% <0.00%> (-100.00%) ⬇️
...pps/sports-helsinki/src/assets/icons/IconDance.tsx 0.00% <0.00%> (-100.00%) ⬇️
...pps/sports-helsinki/src/assets/icons/IconGames.tsx 0.00% <0.00%> (-100.00%) ⬇️
...pps/sports-helsinki/src/assets/icons/IconMusic.tsx 0.00% <0.00%> (-100.00%) ⬇️
...ps/sports-helsinki/src/assets/icons/IconMovies.tsx 0.00% <0.00%> (-100.00%) ⬇️
...s/sports-helsinki/src/assets/icons/IconTheatre.tsx 0.00% <0.00%> (-100.00%) ⬇️
...sports-helsinki/src/assets/icons/IconLanguages.tsx 0.00% <0.00%> (-100.00%) ⬇️
... and 127 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@kristianjokela
Copy link
Contributor Author

kristianjokela commented Jan 10, 2023

Here's a test run, how it would now generate PR's:

hobbies

1.1.0 (2023-01-10)

Features

  • Add favicon to article archive (#127) (04d95d5)
  • Enable HDS server side rendering support (932e980)
  • Grey placeholders in form components (#128) (6b95e83)
  • hobbies: Remove search link and categories from footer (b3b0681)
  • Use the prefetched menus and languages as navigation and footer props (48e80f9)

Bug Fixes

events

0.4.0 (2023-01-10)

Features

  • Add favicon to article archive (#127) (04d95d5)
  • Change default search results order for events (#115) (fc78c84)
  • Enable HDS server side rendering support (932e980)
  • events: Tune landing page category search shortcuts (e2b0d1b)
  • Grey placeholders in form components (#128) (6b95e83)
  • Only kids events search filter (#129) (ed22030)
  • Use the prefetched menus and languages as navigation and footer props (48e80f9)

Bug Fixes

sports

0.4.0 (2023-01-10)

Features

  • Add a context and a provider for navigation component (df9e968)
  • Add favicon to article archive (#127) (04d95d5)
  • Enable HDS server side rendering support (932e980)
  • Give a menu as a prop into the Navigation component (b35793b)
  • Grey placeholders in form components (#128) (6b95e83)
  • Include a header menu query in the global CMS data (0427b6f)
  • sports: Add the subgraph support (1058afd)
  • sports: Added venue translations (a998ce7)
  • sports: Graphql next api apollo server (c0c066d)
  • sports: Make search shortcuts change automatically based on season (54de034)
  • sports: Map search page and a map view component (e815b74)
  • sports: Search utilities for search mode switching (3742500)
  • sports: Service map component for events and venues (94eef90)
  • sports: Switch landing search shortcuts to Liikunta ones (b157929)
  • Use the prefetched menus and languages as navigation and footer props (48e80f9)

Bug Fixes

components

0.1.0 (2023-01-10)

Features

  • Add favicon to article archive (#127) (04d95d5)
  • Enable HDS server side rendering support (932e980)
  • Grey placeholders in form components (#128) (6b95e83)
  • sports: Added venue translations (a998ce7)
  • sports: Graphql next api apollo server (c0c066d)
  • sports: Map search page and a map view component (e815b74)
  • sports: Service map component for events and venues (94eef90)

Bug Fixes

common-i18n

0.1.0 (2023-01-10)

Features

  • Add favicon to article archive (#127) (04d95d5)
  • hobbies: Remove search link and categories from footer (b3b0681)
  • sports: Added venue translations (a998ce7)
  • sports: Make search shortcuts change automatically based on season (54de034)
  • sports: Map search page and a map view component (e815b74)
  • sports: Search utilities for search mode switching (3742500)
  • sports: Service map component for events and venues (94eef90)
  • sports: Switch landing search shortcuts to Liikunta ones (b157929)

Bug Fixes

federation-router

1.1.0 (2023-01-10)

Features

  • router: Compose a new supergraph with venues schema and Tprek datasource (33dc2f9)
  • router: Propagate the headers from the requests (d28724e)
  • router: Venues subgraph added to the federation router (03dcb61)

Copy link
Contributor

@jannetalvio jannetalvio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As described in the earlier meetings.

@kristianjokela kristianjokela merged commit 32f4524 into main Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants