Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/js_client_ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: JS Client Build & Test

on:
pull_request:

defaults:
run:
working-directory: js-client

jobs:
ci:
name: Build & Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v5
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
- 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 }}
4 changes: 3 additions & 1 deletion .github/workflows/js_client_release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release
name: JS Client Release

on: workflow_dispatch

Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions js-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
5 changes: 4 additions & 1 deletion js-client/packages/pipe/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 7 additions & 1 deletion js-client/packages/pipe/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down