Skip to content

Commit

Permalink
updated types
Browse files Browse the repository at this point in the history
added sample tests
bumped version
  • Loading branch information
shahriar-shojib committed Feb 26, 2022
1 parent a41df47 commit 52dcfe5
Show file tree
Hide file tree
Showing 19 changed files with 2,853 additions and 875 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Publish package to NPM

on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
- run: yarn ci
- run: yarn lint
- run: yarn format:check
# - run: yarn test

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: yarn ci
- run: yarn build
- run: npm publish

env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
5 changes: 0 additions & 5 deletions example/.gitignore

This file was deleted.

12 changes: 0 additions & 12 deletions example/index.html

This file was deleted.

22 changes: 0 additions & 22 deletions example/package.json

This file was deleted.

45 changes: 0 additions & 45 deletions example/src/App.tsx

This file was deleted.

8 changes: 0 additions & 8 deletions example/src/index.css

This file was deleted.

11 changes: 0 additions & 11 deletions example/src/main.tsx

This file was deleted.

14 changes: 0 additions & 14 deletions example/src/stores/counterStore.ts

This file was deleted.

1 change: 0 additions & 1 deletion example/src/vite-env.d.ts

This file was deleted.

20 changes: 0 additions & 20 deletions example/tsconfig.json

This file was deleted.

7 changes: 0 additions & 7 deletions example/vite.config.ts

This file was deleted.

Loading

0 comments on commit 52dcfe5

Please sign in to comment.