Skip to content

Commit

Permalink
Merge pull request #24 from southworks/publish_npm
Browse files Browse the repository at this point in the history
update action to publish into npm registry
  • Loading branch information
agustinseifert authored Sep 15, 2022
2 parents 2055768 + 3116cf8 commit be1e39b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/publish.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
- run: npm ci
- run: npm run build:prod --if-present
- run: npm publish
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@
],
"repository": {
"type": "git",
"url": "https://github.com/southworks/codeverter.git"
"url": "git+https://github.com/southworks/codeverter.git"
},
"bugs": {
"url": "https://github.com/southworks/codeverter/issues"
},
"homepage": "https://github.com/southworks/codeverter#readme",
"files": [
"lib/"
],
Expand Down

0 comments on commit be1e39b

Please sign in to comment.