Skip to content

Commit 479612e

Browse files
committed
chore: fix typescript-publish action (#7)
* chore: fix typescript-publish action * chore: remove unused changesets dependency * chore: remove unused npm scripts
1 parent ef2c122 commit 479612e

File tree

3 files changed

+5
-730
lines changed

3 files changed

+5
-730
lines changed

.github/workflows/typescript-publish.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
- name: Install dependencies
4040
working-directory: typescript
4141
run: pnpm install
42+
env:
43+
CI: true
4244

4345
- name: Run linters
4446
working-directory: typescript
@@ -58,14 +60,9 @@ jobs:
5860
- name: Build package
5961
working-directory: typescript
6062
run: pnpm build:prod
61-
63+
6264
- name: Publish to NPM
63-
uses: actions/setup-node@v4
64-
with:
65-
node-version: '20.x'
66-
registry-url: 'https://registry.npmjs.org'
67-
- run: npm ci
6865
working-directory: typescript
69-
- run: npm publish --provenance --access public
66+
run: npm publish --provenance --access public
7067
env:
7168
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

typescript/package.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,13 @@
1818
"test": "vitest --run",
1919
"test:integration": "vitest integration --run",
2020
"test:watch": "vitest",
21-
"test:integration:watch": "vitest integration",
22-
"change:add": "changeset add",
23-
"change:publish": "pnpm build:prod && changeset publish --no-git-tag",
24-
"change:version": "changeset version && pnpm lint:fix",
25-
"prepublishOnly": "pnpm build:prod"
21+
"test:integration:watch": "vitest integration"
2622
},
2723
"dependencies": {
2824
"ethers": "6.13.5"
2925
},
3026
"devDependencies": {
3127
"@biomejs/biome": "1.5.3",
32-
"@changesets/cli": "2.27.10",
3328
"@types/node": "22.7.4",
3429
"cross-env": "7.0.3",
3530
"esbuild": ">=0.25.0",

0 commit comments

Comments
 (0)