Skip to content

Commit 30e6c78

Browse files
committed
publish on both npm + github packages
1 parent 6a6e2fd commit 30e6c78

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/publish_bucklescript.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,14 @@ jobs:
1111
- uses: actions/setup-node@v1
1212
with:
1313
node-version: '12.x'
14-
registry-url: 'https://npm.pkg.github.com'
14+
registry-url: 'https://registry.npmjs.org'
1515
- run: npm install
16+
- run: npm publish --access public
17+
env:
18+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
19+
- uses: actions/setup-node@v1
20+
with:
21+
registry-url: 'https://npm.pkg.github.com'
1622
- run: npm publish
1723
env:
1824
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@
77
"url": "git+https://github.com/anuragsoni/routes.git"
88
},
99
"keywords": [
10-
"http",
1110
"router",
1211
"bi-directional",
13-
"type-safe",
1412
"bucklescript",
1513
"ocaml",
1614
"reasonml",
17-
"reason"
15+
"reason",
16+
"type-safe"
1817
],
1918
"author": {
2019
"name": "Anurag Soni",

0 commit comments

Comments
 (0)