dodopayments-cli 3.5.0 → 3.6.0

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.
@@ -0,0 +1,33 @@
1
+ name: PR Check
2
+
3
+ on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
+ branches: [ "main" ]
8
+
9
+ concurrency:
10
+ group: ${{ github.workflow }}-${{ github.ref }}
11
+ cancel-in-progress: true
12
+
13
+ jobs:
14
+ test:
15
+ name: Build & Test
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - name: Checkout code
19
+ uses: actions/checkout@v4
20
+
21
+ - name: Setup Bun
22
+ uses: oven-sh/setup-bun@v2
23
+ with:
24
+ bun-version: 'latest'
25
+
26
+ - name: Install dependencies
27
+ run: bun install --frozen-lockfile
28
+
29
+ - name: Build
30
+ run: bun run build
31
+
32
+ - name: Test
33
+ run: bun test
@@ -123,6 +123,9 @@ jobs:
123
123
  - name: Build
124
124
  run: bun run build
125
125
 
126
+ - name: Test npm artifact under Node.js
127
+ run: bun test
128
+
126
129
  - name: Publish to npm
127
130
  env:
128
131
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/README.md CHANGED
@@ -46,7 +46,9 @@ Manage your [Dodo Payments](https://dodopayments.com/) resources, test webhooks,
46
46
 
47
47
  We provide multiple ways to install the CLI.
48
48
 
49
- > **Note:** If you already have Node or Bun installed, the package-manager installs are the simplest path and always pull the latest version.
49
+ > **Note:** Node.js 18+ is enough for CLI subcommands such as `dodo login`.
50
+ > The interactive TUI (`dodo` with no arguments) requires Bun when installed
51
+ > through a package manager. Standalone release binaries require neither runtime.
50
52
 
51
53
  ### Using npm
52
54