Skip to content
This repository was archived by the owner on Dec 26, 2024. It is now read-only.

Commit 3c5b1d5

Browse files
authored
Merge pull request #8 from abstraction-hq/7-add-release-script
refactor: Update release workflow and package.json description and ke…
2 parents d82d409 + 96e5741 commit 3c5b1d5

2 files changed

Lines changed: 27 additions & 1 deletion

File tree

.github/workflows/release.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: release
2+
3+
on:
4+
release:
5+
types: [published]
6+
jobs:
7+
publish:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-node@v3
12+
with:
13+
node-version: "20"
14+
- run: npm ci
15+
- run: npm test
16+
- uses: JS-DevTools/npm-publish@v3
17+
with:
18+
token: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,21 @@
33
"version": "1.0.0",
44
"main": "dist/index.js",
55
"types": "dist/index.d.js",
6+
"description": "Interact your app with top tier wallet on blockchain.",
67
"repository": "https://github.com/abstraction-hq/wallet-sdk",
78
"author": "Abstraction",
89
"license": "MIT",
10+
"keywords": [
11+
"abstraction",
12+
"wallet",
13+
"account-abstraction",
14+
"web3"
15+
],
916
"scripts": {
1017
"build": "rm -rf dist && tsc",
1118
"dev": "tsc --watch",
12-
"test": "ts-mocha -p ./tsconfig.mocha.json ./tests/*.spec.ts --timeout 60000"
19+
"test": "ts-mocha -p ./tsconfig.mocha.json ./tests/*.spec.ts --timeout 60000",
20+
"prepare": "npm run build"
1321
},
1422
"dependencies": {
1523
"@types/chai": "^4.3.16",

0 commit comments

Comments
 (0)