gitlab-ci-local 4.65.1 → 4.66.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -99,6 +99,12 @@ paru -S gitlab-ci-local
99
99
  npm install -g gitlab-ci-local
100
100
  ```
101
101
 
102
+ ### Bun
103
+
104
+ ```bash
105
+ bun install -g gitlab-ci-local
106
+ ```
107
+
102
108
  ### Macos
103
109
 
104
110
  *bash version must be above or equal 4.x.x*
@@ -115,7 +121,7 @@ brew install gitlab-ci-local
115
121
  Download and put binary in `C:\Program Files\Git\mingw64\bin`
116
122
 
117
123
  ```bash
118
- curl -L https://github.com/firecow/gitlab-ci-local/releases/latest/download/win.gz | gunzip -c > /c/Program\ Files/Git/mingw64/bin/gitlab-ci-local.exe
124
+ curl -L https://github.com/firecow/gitlab-ci-local/releases/latest/download/gitlab-ci-local-windows-amd64.zip -o gcl.zip && unzip -o gcl.zip -d /c/Program\ Files/Git/mingw64/bin && rm gcl.zip
119
125
  ```
120
126
 
121
127
  Executing `gitlab-ci-local` with `--variable MSYS_NO_PATHCONV=1` can be useful in certain situations
@@ -401,40 +407,35 @@ CI_SERVER_SHELL_SSH_PORT: 8022
401
407
 
402
408
  ## Development
403
409
 
404
- You need nodejs 18+
410
+ You need [bun](https://bun.sh/) installed.
405
411
 
406
412
  ### Scripts
407
413
 
408
414
  ```bash
409
- # Install node_modules
410
- npm install
415
+ # Install dependencies
416
+ bun install
411
417
 
412
418
  # Run all tests
413
- npm run test
414
-
415
- # Run the program with hot-reloading enabled using the `.gitlab-ci.yml` in the root directory
416
- npm run dev
417
-
418
- # Pass --help flag into the program
419
- npm run dev -- -- --help # (equivalent of gitlab-ci-local --help)
419
+ bun test
420
420
 
421
421
  # Run individual test-case
422
- npx jest tests/test-cases/cache-paths-not-array
422
+ bun test tests/test-cases/cache-paths-not-array
423
423
  ```
424
424
 
425
425
  ![example](./docs/images/example.png)
426
426
 
427
- It's also possible to run individual `.gitlab-ci.yml`, via `npx tsx src/index.ts --cwd examples/docker-compose-nodejs`
427
+ It's also possible to run individual `.gitlab-ci.yml`, via `bun src/index.ts --cwd examples/docker-compose-nodejs`
428
428
 
429
429
  ## Creating single executable binaries from source
430
430
  ```bash
431
- npm install
432
- npm run esbuild
431
+ bun install
433
432
 
434
433
  # According to your needs:
435
- npm run pkg-linux
436
- npm run pkg-win
437
- npm run pkg-macos
438
- npm run pkg-all
434
+ bun build:linux-amd64
435
+ bun build:linux-arm64
436
+ bun build:win
437
+ bun build:macos-x64
438
+ bun build:macos-arm64
439
+ bun build-all
439
440
  # the binary will be generated in the respective ./bin/<os>/gitlab-ci-local
440
441
  ```