Skip to content

Commit 2fbd43c

Browse files
committed
Update release workflow to use RELEASE_PAT for GitHub token and enhance package.json files structure
1 parent 932c1d0 commit 2fbd43c

4 files changed

Lines changed: 15 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ jobs:
5454
commit: "chore(release): version packages"
5555
title: "chore(release): version packages"
5656
env:
57-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57+
GITHUB_TOKEN: ${{ secrets.RELEASE_PAT }}
5858
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5959
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,12 @@ sdk/node_modules/
1515
.turbo
1616
.turbo-cache
1717

18+
# Build outputs
19+
sdk/dist/
20+
cli/dist/
21+
22+
# Test coverage
23+
sdk/coverage/
24+
cli/coverage/
25+
1826
fix.md

cli/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
"iln": "./dist/index.js"
77
},
88
"main": "dist/index.js",
9+
"files": [
10+
"dist"
11+
],
912
"type": "commonjs",
1013
"scripts": {
1114
"build": "tsc",

sdk/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
}
1414
},
1515
"type": "module",
16+
"files": [
17+
"dist"
18+
],
1619
"scripts": {
1720
"build": "tsup",
1821
"test": "vitest run --coverage",

0 commit comments

Comments
 (0)