Skip to content

Commit

Permalink
Add dist/ artifact to git release
Browse files Browse the repository at this point in the history
  • Loading branch information
jehna committed Aug 15, 2024
1 parent 9aa995e commit dc9bdcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ models
output
dist
test-output
.env
.env
dist.tar.gz
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"scripts": {
"start": "tsx src/index.ts",
"build": "pkgroll",
"deploy": "npm version patch && npm run build && npm publish && gh release create --generate-notes",
"deploy": "npm version patch && npm run build && npm publish && npm run deploy:create-github-release",
"deploy:create-github-release": "tar -czvf dist.tar.gz dist && gh release create v$npm_package_version --generate-notes dist.tar.gz",
"test": "npm run test:unit && npm run test:e2e && npm run test:llm",
"test:unit": "find src -name '*.test.ts' | xargs tsx --test",
"test:e2e": "npm run build && find src -name '*.e2etest.ts' | xargs tsx --test --test-concurrency=1",
Expand Down

0 comments on commit dc9bdcb

Please sign in to comment.