Skip to content

Commit

Permalink
fix(build): build package before release, declare "files" in package.…
Browse files Browse the repository at this point in the history
…json
  • Loading branch information
brncsk committed Jun 3, 2022
1 parent c990268 commit 8893a54
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
node-version: "lts/*"
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
"main"
]
},
"files": [
"dist/"
],
"keywords": [
"zod",
"refine",
Expand Down

0 comments on commit 8893a54

Please sign in to comment.