Skip to content

Commit

Permalink
include dist to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliusKoronciCH committed Apr 4, 2024
1 parent 85a6b26 commit 68ebcfb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
- name: Publish to npm (on merge to main)
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
run: |
ls -lah
yarn standard-version
git push origin main --follow-tags
npm publish --tag beta
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"main": "./dist/dantian.cjs",
"module": "./dist/dantian.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"dev": "vite",
"test": "vitest",
Expand Down

0 comments on commit 68ebcfb

Please sign in to comment.