Commit Graph

24 Commits (4dc1bda5c1fce2edb70751f9c57d12dab63ae3fe)

Author SHA1 Message Date
Florian Hotze 767e5e56b0
GH Actions: Upgrade relative-ci/agent-upload-artifact-action (#2598)
Fixes Node.js 16 deprecation warning.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-06-01 18:40:09 +02:00
Holger Friedrich 88015e3f35
[CI] Add Java 21 compiling to J17 and native J21 (#2576)
Refs https://github.com/openhab/openhab-distro/issues/1590.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-05-14 18:05:06 +02:00
Florian Hotze c6e1d8bc87
Use Node v20 for Main UI build (#2434)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-04-30 16:55:03 +02:00
Florian Hotze a81bb0dd3a
GHA Main UI checks: Run unit tests (#2491)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-23 10:00:44 +01:00
Wouter Born a565bf2d12
Upgrade GHA dependencies (#2366)
This fixes the following deprecation warning:

> Node.js 16 actions are deprecated. Please update the following actions
to use Node.js 20

Signed-off-by: Wouter Born <github@maindrain.net>
2024-02-17 11:18:05 +01:00
GiviMAD 1c03c60f84
Upgrade from webpack v4 to v5 (#2267)
Upgrade webpack and related build dependencies from v4 to v5.
Also upgrade the NodeJS and npm versions used by the Main UI build as well as babel.

The changes follow the recommendations of the webpack migration guide at https://webpack.js.org/migrate/5/ or are required changes for updated webpack plugins.
New default values causing problems have been overwritten, e.g. devServer.compress: false because compression broke the SSE event streams.
The ModuleConcatenationPlugin is not created manually in production mode anymore, as this setting broke the production build, and it is not neccassary to create that, as this plugin is automatically enabled in production mode.
See https://webpack.js.org/plugins/module-concatenation-plugin/.

---------

Also-by: Florian Hotze <florianh_dev@icloud.com>
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2024-01-31 00:32:56 +01:00
Florian Hotze 2c70e19983
Update mainui workflow to generate webpack-stats on push to main (#2278)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-01-18 09:09:51 +01:00
Viorel Cojocaru eee0277d89
Update RelativeCI agent action (#2063)
The RelativeCI action was using the CLI with an inline API key.

This PR replaces the RelativeCI CLI with the action agent running on workflow_run
event and in the context of the default branch (secrets are not leaked to forks). 

Signed-off-by: Viorel Cojocaru <vio@beanon.com>
2023-09-26 19:44:38 +02:00
Wouter Born 30ab36c221
Upgrade Maven and plug-ins (#2044)
* Use Maven 3.9.4 with GitHub Actions CI
* Upgrade Maven plug-ins

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-30 13:28:01 +02:00
J-N-K 38f44af1e1
Raise minimum JDK version to 17 (#1588)
* Raise minimum JDK version to 17

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-19 23:20:09 +01:00
Wouter Born e77e3f48d5
GitHub Actions workflow upgrades (#1573)
* Upgrade actions to fix deprecation warnings
* Use ubuntu-22.04 for builds

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-11 16:56:56 +01:00
Wouter Born 2e46427c75
GitHub Actions workflow improvements (#1434)
* Upgrade actions to latest versions
* Upgrade Maven to 3.8.6
* Use Temurin JDK instead of Zulu JDK

The Temurin JDK is preinstalled in the [Ubuntu image](https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md#java) whereas the Zulu JDK first need to be downloaded.
It should also perform better because the Temurin JDK is linked to glibc 2.12 whereas the Zulu JDK is linked to glibc 2.5.

Also adds missing wildcards to the .gitattributes file.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-07-03 15:55:17 +02:00
Wouter Born 97f18398d3
Add GitHub Actions CI build (#1341)
* Add GHA CI build (Java 11/17)
* Add GHA build status badge
* Update required Java version range used by the enforcer plugin

Signed-off-by: Wouter Born <github@maindrain.net>
2022-03-13 12:25:22 +01:00
DarkC f601eb242e
Fix lint npm command & use it in GitHub workflow (#952)
Signed-off-by: Kevin Haunschmied <darkc.futarialone@gmail.com>
2021-03-10 20:07:14 +01:00
Yannick Schaus d3a49e97d5
Reactivate @vue/standard + template ESLint rules (#942)
Includes template rules from #905.

Adjust webpack configuration:
- add environment options & scripts to generate reports & stats
- add GitHub workflow job for bundle-analyzer report integration (as artifact)
  & integration with https://app.relative-ci.com/projects/ZNG5hy4VeSJQVQcq1Kvu
  for comparative analysis

Signed-off-by: Philipp Waller <1090452+philippwaller@users.noreply.github.com>
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-03-09 18:14:20 +01:00
Yannick Schaus 074942e598
Update job name
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-03-07 03:30:59 +01:00
Yannick Schaus feda256b7e
Update GitHub action
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-03-07 03:29:22 +01:00
Yannick Schaus b7384eba61
Update ESLint action path restriction
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-03-07 02:28:39 +01:00
Yannick Schaus eed87a8adb
Add ESLint action for Main UI
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-03-07 02:19:24 +01:00
Yannick Schaus cd66d064a7
[skip ci] More orga spelling fixes & adjustments (#531)
Signed-off-by: Yannick Schaus <github@schaus.net>
2020-11-18 01:33:49 +01:00
Yannick Schaus dae0086a0b
[skip ci] [orga] Further improvements to the issue templates & README (#530)
Signed-off-by: Yannick Schaus <github@schaus.net>
2020-11-17 22:59:35 +01:00
Yannick Schaus 668bb82734
[skip ci] [orga] Fix spelling errors in issue menu
Signed-off-by: Yannick Schaus <github@schaus.net>
2020-11-17 17:29:59 +01:00
Yannick Schaus 338e819196
[skip ci] [orga] Adjustments in README & templates (#528)
Signed-off-by: Yannick Schaus <github@schaus.net>
2020-11-17 17:26:57 +01:00
Yannick Schaus ce79d887f5
[Orga] Add README, move directives & template issues (#527)
Signed-off-by: Yannick Schaus <github@schaus.net>
2020-11-17 17:17:13 +01:00