Skip to content

Commit 2e88657

Browse files
ops: update publishing flow for new sdk (#13)
* ops: update publishing flow for nw sdk * run only e2e tests in github actions
1 parent ea571de commit 2e88657

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

.github/workflows/build-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ jobs:
3030
run: pnpm run build
3131

3232
- name: Run tests
33-
run: pnpm run test
33+
run: pnpm run test:e2e

.github/workflows/publish-node-sdk.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,17 @@ jobs:
1414
node-version: "20"
1515
registry-url: "https://registry.npmjs.org"
1616

17-
- name: Install dependencies and build
18-
run: npm ci
17+
- name: Install pnpm
18+
run: npm install -g pnpm
19+
20+
- name: Install dependencies
21+
run: pnpm install
22+
23+
- name: Build
24+
run: pnpm build
1925

2026
- name: Publish to npm
21-
run: npm publish --access public
27+
run: pnpm publish --access public
2228
env:
2329
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2430

package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
{
2-
"name": "@plane/node-sdk",
3-
"version": "1.0.0",
4-
"description": "Node.js SDK for Plane API",
2+
"name": "@makeplane/plane-node-sdk",
3+
"version": "0.2.0",
4+
"description": "Node SDK for Plane",
5+
"author": "Plane <[email protected]>",
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/makeplane/plane-node-sdk.git"
9+
},
510
"main": "dist/index.js",
611
"types": "dist/index.d.ts",
712
"files": [
@@ -30,7 +35,6 @@
3035
"typescript",
3136
"node"
3237
],
33-
"author": "Plane Team",
3438
"license": "MIT",
3539
"dependencies": {
3640
"axios": "1.12.2",

0 commit comments

Comments
 (0)