1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01:00
Commit Graph

27 Commits

Author SHA1 Message Date
Christopher Kolstad
15726cc8ac
chore: upgrade to yarn v4 (#7230)
![Outdated as of
2020](https://github.com/Unleash/unleash/assets/177402/689a1bcc-441d-4b87-88a6-125e68a17f26)

This has been on our TODO list for a long time.

We're moving to latest released at the time of commit (v4.2.2)
2024-06-07 14:00:19 +02:00
Gastón Fournier
08917b8d15
chore: use node 20 for linting (#7311) 2024-06-06 17:48:23 +02:00
Gastón Fournier
31bbfc974a
Checkout changelog from release branch into main (#7291)
## About the changes
Small detail I'd like to include which is to copy the changelog from the
release branch to main. This way we'll only have major, minor and patch
logs automatically in main
2024-06-05 15:47:46 +02:00
Gastón Fournier
1a0a7c18f3
chore: backport changed made in the workflow (#7255)
Just backporting what we tested in 5.12
2024-06-04 12:00:00 +02:00
Gastón Fournier
07354f7218
chore: workflows call workflows (#7089)
Relying on tags to trigger workflows makes it hard to trace what's
happening after a release, currently:
1. We manually trigger a release workflow
2. The release workflow executes and tags the new release in code
3. Several other workflows trigger after matching the tag doing
different things: build docker images, tarballs and other things.

This creates a loose dependency between the workflows which are actually
part of the same "release workflow" which makes it difficult to spot
when one or other dependent workflow fails because the dependency is
indirect through the tagging mechanism.

This PR switches to a more direct approach using [workflow
calls](https://docs.github.com/en/actions/using-workflows/reusing-workflows).
This will create a graph as shown in the following graph:
![](https://docs.github.com/assets/cb-34427/mw-1440/images/help/actions/reusable-workflows-ci-cd.webp)
making it easier to track and identify any problem.

The "drawback" of this approach is that previously we could trigger all
dependent workflows at once by creating a tag matching the expected
pattern without manually triggering a new release. This limitation can
be overcome by adding a manual workflow_dispatch to the workflows using
the tag trigger.
2024-05-24 07:28:39 +00:00
Christopher Kolstad
7e38d6bae1
Node20 (#7095)
Upgrades workflows, nvmrc and package.json to use Node 20.
2024-05-23 14:14:09 +02:00
Gastón Fournier
65018b8a3f
chore: bring workflow changes from 5.12 (#7074)
Automate some of our manual release steps
2024-05-17 11:35:22 +02:00
renovate[bot]
aee470a7d6
chore(deps): update actions/setup-node action to v4 (#5891)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/setup-node](https://togithub.com/actions/setup-node) | action
| major | `v3` -> `v4` |

---

### Release Notes

<details>
<summary>actions/setup-node (actions/setup-node)</summary>

### [`v4`](https://togithub.com/actions/setup-node/compare/v3...v4)

[Compare
Source](https://togithub.com/actions/setup-node/compare/v3...v4)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 09:56:41 +02:00
Thomas Heartman
a9bf831759
Update publish-new-version.yaml (#5691)
Add more details about the how the version should be formatted. 

When trying to run this workflow, I'm always very unsure whether the
version should be prepended with a `v` or not. This should be clearly
stated in the description. If it doesn't matter, that should also be
stated explicitly.

Updated the texts after talking to @chriswk and making a release.
2023-12-20 08:15:22 +01:00
Gastón Fournier
4fc7df84b9
fix: ignore errors on changelog generation and include token (#4926)
This backports changes made in 5.5
2023-10-06 16:39:34 +02:00
Gastón Fournier
8adc711949
chore: automate changelog generation on release branch (#4914)
## About the changes
This generates the changelog in the branch taking into account latest
release (it's conditional to wether the release ends with .0 or not)
2023-10-04 11:52:46 +02:00
Gastón Fournier
0426dd505d
chore: update to node 18 (#3527)
## About the changes
This upgrades our main branch to use node 18 which is the active LTS
version and stops using node 14 which reaches the end of life in a few
weeks: https://nodejs.dev/en/about/releases/

This PR also adds `--no-experimental-fetch` for frontend tests and other
frontend commands. Related to:
https://github.com/node-fetch/node-fetch/issues/1566

More about the experimental fetch release:
https://nodejs.org/en/blog/announcements/v18-release-announce#fetch-experimental
2023-04-18 10:35:32 +02:00
renovate[bot]
a596301a3f
chore: update actions/checkout action to v3 (#2915)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://togithub.com/actions/checkout) | action |
major | `v2` -> `v3` |

---

### Release Notes

<details>
<summary>actions/checkout</summary>

###
[`v3`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v310)

[Compare Source](https://togithub.com/actions/checkout/compare/v2...v3)

- [Use @&#8203;actions/core `saveState` and
`getState`](https://togithub.com/actions/checkout/pull/939)
- [Add `github-server-url`
input](https://togithub.com/actions/checkout/pull/922)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDUuMSIsInVwZGF0ZWRJblZlciI6IjM0LjEwOC40In0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-28 15:16:45 +01:00
Ivar Conradi Østhus
8e5ca352c3
fix: allow publish-new-version action to run from branch (#2698)
We cannot hard code the branch to be "main" if we want to allow the
release script to also run from branch (e.g. 4.18 maintenance branch)
2022-12-15 09:25:44 +01:00
Mateusz Kwasniewski
1e8801b652
remove postgres because we dont run tests anymore (#2649) 2022-12-09 11:52:48 +01:00
Mateusz Kwasniewski
b62b955f4d
do not test again when creting version from github actions (#2639) 2022-12-09 09:30:16 +01:00
Mateusz Kwasniewski
a15157465c
Update publish-new-version.yaml 2022-12-06 09:46:41 +01:00
Mateusz Kwasniewski
9e1fa06832
Update publish-new-version.yaml 2022-12-06 08:29:34 +01:00
Mateusz Kwasniewski
925b89b899
Update publish-new-version.yaml 2022-12-05 17:10:14 +01:00
Mateusz Kwasniewski
8bf7d31fed
Update publish-new-version.yaml 2022-12-05 16:32:10 +01:00
Mateusz Kwasniewski
e378f904bd
Update publish-new-version.yaml 2022-12-05 16:16:18 +01:00
Mateusz Kwasniewski
6f38f408b6
Update publish-new-version.yaml 2022-12-05 16:04:49 +01:00
Mateusz Kwasniewski
0dc6dfc5aa
Update publish-new-version.yaml 2022-12-05 16:01:40 +01:00
Mateusz Kwasniewski
8243c9d181
Update publish-new-version.yaml 2022-12-05 15:59:13 +01:00
Mateusz Kwasniewski
c1027d0359
Update publish-new-version.yaml 2022-12-05 15:51:20 +01:00
Mateusz Kwasniewski
8895004e03
Update publish-new-version.yaml 2022-12-05 15:49:22 +01:00
Mateusz Kwasniewski
31dbf098a2
github action to publish new npm version (#2599) 2022-12-05 15:46:02 +01:00