Skip to content

Commit

Permalink
build npm before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
javierluraschi committed Aug 13, 2024
1 parent b45671c commit 581e0fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/javascript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
scope: '@hal9ai'
- run: yarn install
working-directory: ./javascript
- run: yarn build:npm
working-directory: ./javascript
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
5 changes: 3 additions & 2 deletions javascript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hal9",
"version": "2.1.1",
"version": "2.1.2",
"license": "MIT",
"description": "Hal9: Create and Share Generative Apps",
"main": "dist/hal9.js",
Expand All @@ -10,7 +10,8 @@
"build": "webpack --mode=production",
"dev": "webpack-dev-server --config webpack.config.js --mode development --history-api-fallback",
"build:dev": "webpack --mode=development",
"build:prod": "webpack --mode=production"
"build:prod": "webpack --mode=production",
"build:npm": "webpack --mode=production"
},
"keywords": [
"javascript",
Expand Down

0 comments on commit 581e0fd

Please sign in to comment.