Skip to content

Commit

Permalink
Merge pull request #23 from Anastasia-Labs/develop
Browse files Browse the repository at this point in the history
feat: improve test struct, add test to ci
  • Loading branch information
solidsnakedev authored Jan 9, 2024
2 parents c4749a2 + 7ee9f1e commit 924cf59
Show file tree
Hide file tree
Showing 8 changed files with 787 additions and 1,059 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ jobs:
cache: 'pnpm'
- run: pnpm i
- run: pnpm run lint && pnpm run build
- run: pnpm test
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dist"
],
"scripts": {
"test": "",
"test": "export NODE_ENV='emulator' && vitest run",
"build": "tsup src/index.ts --minify --format esm,cjs --dts --clean",
"lint": "eslint",
"repack": "pnpm run build && pnpm pack",
Expand All @@ -27,12 +27,13 @@
"eslint-config-prettier": "^8.8.0",
"ts-node": "^10.9.1",
"tsup": "^6.7.0",
"typescript": "^5.1.3"
"typescript": "^5.1.3",
"vitest": "0.34.6"
},
"directories": {
"test": "test"
},
"dependencies": {
"@anastasia-labs/lucid-cardano-fork": "^0.10.7"
"@anastasia-labs/lucid-cardano-fork": "^0.10.8-rc.2"
}
}
Loading

0 comments on commit 924cf59

Please sign in to comment.