Skip to content

Commit

Permalink
publish on both npm + github packages
Browse files Browse the repository at this point in the history
  • Loading branch information
anuragsoni committed Mar 24, 2020
1 parent 6a6e2fd commit 30e6c78
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/publish_bucklescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: '12.x'
registry-url: 'https://npm.pkg.github.com'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: actions/setup-node@v1
with:
registry-url: 'https://npm.pkg.github.com'
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@
"url": "git+https://github.com/anuragsoni/routes.git"
},
"keywords": [
"http",
"router",
"bi-directional",
"type-safe",
"bucklescript",
"ocaml",
"reasonml",
"reason"
"reason",
"type-safe"
],
"author": {
"name": "Anurag Soni",
Expand Down

0 comments on commit 30e6c78

Please sign in to comment.