Skip to content

Commit

Permalink
added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentine1898 committed Apr 22, 2024
1 parent befb6f6 commit 7ad98de
Show file tree
Hide file tree
Showing 5 changed files with 956 additions and 8 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/typescript-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,22 @@ jobs:

- name: Build
run: pnpm build

test:
name: Test
runs-on: ubuntu-latest
defaults:
run:
working-directory: npm

steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8

- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm test
8 changes: 5 additions & 3 deletions npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,20 @@
"lint": "eslint . --max-warnings=0",
"build": "tsup src/index.ts --format cjs,esm --dts",
"changeset": "changeset",
"changeset:publish": "changeset publish"
"changeset:publish": "changeset publish",
"test": "vitest run"
},
"devDependencies": {
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.8.0-20240415223544-c0a709144747.2",
"@eslint/eslintrc": "^3.0.2",
"@changesets/cli": "^2.27.1",
"@eslint/eslintrc": "^3.0.2",
"@eslint/js": "^9.0.0",
"eslint": "^9.0.0",
"prettier": "^3.2.5",
"tsup": "^8.0.2",
"typescript": "^5.4.5",
"typescript-eslint": "^7.7.0"
"typescript-eslint": "^7.7.0",
"vitest": "^1.5.0"
},
"files": [
"dist",
Expand Down
Loading

0 comments on commit 7ad98de

Please sign in to comment.