9 Commits

Author SHA1 Message Date
Kengo TODA
c61c6f59f3 feat: Default docker-compose version to latest (#643)
* test: add expected behavior as a test case

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* implement the necessary feature

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* add a missing return type

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* ci: try to run action without GITHUB_TOKEN env var

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* input version is not required

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* update the distributed package

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* fix eslint warning

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* provide GITHUB_TOKEN to create Octokit

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* docs: update README.md

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* docs: update README.md

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* docs: update README.md

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* docs: update README.md

Signed-off-by: Kengo TODA <skypencil@gmail.com>

* update distributions

Signed-off-by: Kengo TODA <skypencil@gmail.com>

Signed-off-by: Kengo TODA <skypencil@gmail.com>
2022-12-25 13:58:23 +08:00
Kengo TODA
ececfe4aee test: reformat jest test cases
Signed-off-by: Kengo TODA <skypencil@gmail.com>
2022-09-04 09:40:11 +08:00
Kengo TODA
c1ed1d87de test: run test with the latest docker-compose release
Signed-off-by: Kengo TODA <skypencil@gmail.com>
2022-09-04 09:40:11 +08:00
Kengo TODA
f4e83dcee9 ci: add missing tests for the previous release 2022-04-19 08:16:39 +00:00
Sergeev Alexander
e1d8c7b2f9 fix: version prefix 'v' is missing for docker-compose v2
* System naming for docker-compose >= 2.0 fixed

As you might notice they started naming releases using not capitalized system name starting from `docker-compose` v2.0.0 ([ref](https://github.com/docker/compose/releases/tag/v2.0.0)).
This commit adds version check and fixes system name (returned by `uname -s`).

* Update src/install.ts

Co-authored-by: Kengo TODA <skypencil+github@gmail.com>

* Version

Naming for later versions updated

* Parsing instead of lexicographical order applied

* Update src/install.ts

Co-authored-by: Kengo TODA <skypencil+github@gmail.com>

* Tests for new release naming added

* Integration test for versions  > 2.0.0 added

* Version tag for releases >= 2.0.0 fixed

* Indentation restored

* js files compiled

* auto-appending 'v' added

Co-authored-by: Kengo TODA <skypencil+github@gmail.com>
2022-04-18 11:40:59 +08:00
Tibo Delor
ecd3566c81 fix: Add docker-compose to PATH (#274)
* Expose command as `docker-compose`

* Format and package
2021-09-01 10:29:50 +08:00
Kengo TODA
38bcbb88d2 test: update jest to v27 2021-07-15 07:28:17 +08:00
Kengo TODA
367ba4923b feat: implement basic feature working for Linux only 2020-08-27 20:39:35 +08:00
Kengo TODA
580c29732a Initial commit 2020-08-27 11:53:14 +08:00