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

Commit

Permalink
Merge pull request #8 from abstraction-hq/7-add-release-script
Browse files Browse the repository at this point in the history
refactor: Update release workflow and package.json description and ke…
  • Loading branch information
imduchuyyy authored Jul 13, 2024
2 parents d82d409 + 96e5741 commit 3c5b1d5
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: release

on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "20"
- run: npm ci
- run: npm test
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,21 @@
"version": "1.0.0",
"main": "dist/index.js",
"types": "dist/index.d.js",
"description": "Interact your app with top tier wallet on blockchain.",
"repository": "https://github.com/abstraction-hq/wallet-sdk",
"author": "Abstraction",
"license": "MIT",
"keywords": [
"abstraction",
"wallet",
"account-abstraction",
"web3"
],
"scripts": {
"build": "rm -rf dist && tsc",
"dev": "tsc --watch",
"test": "ts-mocha -p ./tsconfig.mocha.json ./tests/*.spec.ts --timeout 60000"
"test": "ts-mocha -p ./tsconfig.mocha.json ./tests/*.spec.ts --timeout 60000",
"prepare": "npm run build"
},
"dependencies": {
"@types/chai": "^4.3.16",
Expand Down

0 comments on commit 3c5b1d5

Please sign in to comment.