From 72cc50558400695dc471f82464456ab40d7751af Mon Sep 17 00:00:00 2001 From: Kamil Golec Date: Wed, 28 Jan 2026 17:09:52 +0100 Subject: [PATCH 1/9] chore: add ci actions for js client --- .github/workflows/js_client_ci.yaml | 36 ++++++++++++++++++++++++ .github/workflows/js_client_release.yaml | 4 ++- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/js_client_ci.yaml diff --git a/.github/workflows/js_client_ci.yaml b/.github/workflows/js_client_ci.yaml new file mode 100644 index 0000000..7c10c94 --- /dev/null +++ b/.github/workflows/js_client_ci.yaml @@ -0,0 +1,36 @@ +name: JS Client Build & Test + +on: + pull_request: + +jobs: + ci: + name: Build & Test + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version-file: .nvmrc + cache: "npm" + registry-url: "https://registry.npmjs.org" + - name: Install + run: npm install + - name: Verify Integrity + run: npm audit signatures --omit=dev + - name: Lint + run: + npx nx affected:lint --parallel=3 --base=${{ github.event.pull_request.base.sha }} --head=${{ + github.event.pull_request.head.sha }} + - name: Test + run: + npx nx affected:test --parallel=3 --base=${{ github.event.pull_request.base.sha }} --head=${{ + github.event.pull_request.head.sha }} + - name: Build + run: + npx nx affected:build --parallel=1 --base=${{ github.event.pull_request.base.sha }} --head=${{ + github.event.pull_request.head.sha }} diff --git a/.github/workflows/js_client_release.yaml b/.github/workflows/js_client_release.yaml index 2a8317a..c11d82b 100644 --- a/.github/workflows/js_client_release.yaml +++ b/.github/workflows/js_client_release.yaml @@ -1,4 +1,4 @@ -name: Release +name: JS Client Release on: workflow_dispatch @@ -31,6 +31,8 @@ jobs: run: npm install -g npm@latest - name: Install run: npm ci + - name: Verify Integrity + run: npm audit signatures --omit=dev - name: Test run: npx nx run-many -t test - name: Test Build From 3265fa0eb61331b492956904b6a3bac60e29baaf Mon Sep 17 00:00:00 2001 From: Kamil Golec Date: Wed, 28 Jan 2026 17:11:04 +0100 Subject: [PATCH 2/9] chore: add missing working directory --- .github/workflows/js_client_ci.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/js_client_ci.yaml b/.github/workflows/js_client_ci.yaml index 7c10c94..6c83b9d 100644 --- a/.github/workflows/js_client_ci.yaml +++ b/.github/workflows/js_client_ci.yaml @@ -3,6 +3,10 @@ name: JS Client Build & Test on: pull_request: +defaults: + run: + working-directory: js-client + jobs: ci: name: Build & Test From 88e8c031da1b86f3ec66ae3e0abd6150b7cc8828 Mon Sep 17 00:00:00 2001 From: Kamil Golec Date: Wed, 28 Jan 2026 17:15:03 +0100 Subject: [PATCH 3/9] chore: fix nvmrc path --- .github/workflows/js_client_ci.yaml | 2 +- .github/workflows/js_client_release.yaml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/js_client_ci.yaml b/.github/workflows/js_client_ci.yaml index 6c83b9d..d9de27c 100644 --- a/.github/workflows/js_client_ci.yaml +++ b/.github/workflows/js_client_ci.yaml @@ -19,7 +19,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version-file: .nvmrc + node-version-file: js-client/.nvmrc cache: "npm" registry-url: "https://registry.npmjs.org" - name: Install diff --git a/.github/workflows/js_client_release.yaml b/.github/workflows/js_client_release.yaml index c11d82b..34c6cc6 100644 --- a/.github/workflows/js_client_release.yaml +++ b/.github/workflows/js_client_release.yaml @@ -25,7 +25,6 @@ jobs: with: node-version-file: js-client/.nvmrc cache: "npm" - cache-dependency-path: "js-client/package-lock.json" registry-url: "https://registry.npmjs.org" - name: Update npm run: npm install -g npm@latest From 6681e5fc23117c994c4fa328dd6932d28f8d2523 Mon Sep 17 00:00:00 2001 From: Kamil Golec Date: Wed, 28 Jan 2026 17:17:09 +0100 Subject: [PATCH 4/9] chore: use setup node from publish --- .github/workflows/js_client_ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/js_client_ci.yaml b/.github/workflows/js_client_ci.yaml index d9de27c..ff5d98f 100644 --- a/.github/workflows/js_client_ci.yaml +++ b/.github/workflows/js_client_ci.yaml @@ -13,11 +13,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v5 with: fetch-depth: 0 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v5 with: node-version-file: js-client/.nvmrc cache: "npm" From 9f079baca33427ffd0867ca9343aa7300c1b7c44 Mon Sep 17 00:00:00 2001 From: Kamil Golec Date: Wed, 28 Jan 2026 17:17:54 +0100 Subject: [PATCH 5/9] chore: fix lock file path --- .github/workflows/js_client_ci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/js_client_ci.yaml b/.github/workflows/js_client_ci.yaml index ff5d98f..79b7c46 100644 --- a/.github/workflows/js_client_ci.yaml +++ b/.github/workflows/js_client_ci.yaml @@ -21,6 +21,7 @@ jobs: with: node-version-file: js-client/.nvmrc cache: "npm" + cache-dependency-path: "js-client/package-lock.json" registry-url: "https://registry.npmjs.org" - name: Install run: npm install From 93e1f49aacd10a9b8554229056f8b0fe49552bd5 Mon Sep 17 00:00:00 2001 From: Kamil Golec Date: Wed, 28 Jan 2026 17:19:36 +0100 Subject: [PATCH 6/9] chore: restore required lock file config --- .github/workflows/js_client_release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/js_client_release.yaml b/.github/workflows/js_client_release.yaml index 34c6cc6..c11d82b 100644 --- a/.github/workflows/js_client_release.yaml +++ b/.github/workflows/js_client_release.yaml @@ -25,6 +25,7 @@ jobs: with: node-version-file: js-client/.nvmrc cache: "npm" + cache-dependency-path: "js-client/package-lock.json" registry-url: "https://registry.npmjs.org" - name: Update npm run: npm install -g npm@latest From 0141353e85ce64ef2322b5a0156f7de69880d5c7 Mon Sep 17 00:00:00 2001 From: Kamil Golec Date: Wed, 28 Jan 2026 17:20:28 +0100 Subject: [PATCH 7/9] chore: update readme --- js-client/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js-client/README.md b/js-client/README.md index fac0249..088bfd6 100644 --- a/js-client/README.md +++ b/js-client/README.md @@ -28,8 +28,8 @@ For detailed API documentation and examples, see the [@leancodepl/pipe README](. 3. Run `npx lerna version [version]` e.g. `npx lerna version 1.2.3`. This command will automatically bump versions across all files and push the changes. 4. Create a new pull request for this branch. -5. Go to the `Actions` tab, and then `Release` workflow. Expand the `Run workflow` menu, from the `Tags` tab choose your - new version and run the workflow. +5. Go to the `Actions` tab, and then `JS Client Release` workflow. Expand the `Run workflow` menu, from the `Tags` tab + choose your new version and run the workflow. 6. After refreshing the page you should be able to see the workflow running. After it finishes successfully, go back to the previously created PR and merge it. From 3aded41807fe363975c8f80486c291e32ff10f3d Mon Sep 17 00:00:00 2001 From: Kamil Golec Date: Wed, 28 Jan 2026 22:54:53 +0100 Subject: [PATCH 8/9] chore: include readme in js client releases --- js-client/packages/pipe/project.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/js-client/packages/pipe/project.json b/js-client/packages/pipe/project.json index eddbdaf..c289750 100644 --- a/js-client/packages/pipe/project.json +++ b/js-client/packages/pipe/project.json @@ -11,7 +11,13 @@ "outputPath": "dist/pipe", "main": "packages/pipe/src/index.ts", "tsConfig": "packages/pipe/tsconfig.lib.json", - "assets": [], + "assets": [ + { + "glob": "packages/pipe/README.md", + "input": ".", + "output": "." + } + ], "project": "packages/pipe/package.json", "compiler": "swc", "format": ["cjs", "esm"] From 8cb86eee15b28671d35e2725c6977d536500e62a Mon Sep 17 00:00:00 2001 From: Kamil Golec Date: Thu, 29 Jan 2026 12:27:43 +0100 Subject: [PATCH 9/9] chore: add missing info in changelog inside v2.0.0 --- js-client/packages/pipe/CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/js-client/packages/pipe/CHANGELOG.md b/js-client/packages/pipe/CHANGELOG.md index 577e1dd..7151fe9 100644 --- a/js-client/packages/pipe/CHANGELOG.md +++ b/js-client/packages/pipe/CHANGELOG.md @@ -5,7 +5,10 @@ All notable changes to this project will be documented in this file. See # [2.0.0](https://github.com/leancodepl/leanpipe/compare/js-client-v1.0.2...js-client-v2.0.0) (2026-01-28) -**Note:** Version bump only for package @leancodepl/pipe +### Features + +- uncapitalize pipe responses + ([0faf7c3](https://github.com/leancodepl/leanpipe/commit/0faf7c3b9f3e46bb54e0baed3fe801500b591be0)) # Change Log