Skip to content

Commit 59dc5c9

Browse files
authored
feat: Publishing to npm
feat: Publishing to npm
2 parents ef90e48 + db91e6a commit 59dc5c9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/master.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
uses: actions/setup-node@v1
1616
with:
1717
node-version: '16.x'
18-
registry-url: 'https://npm.pkg.github.com'
18+
registry-url: 'https://registry.npmjs.org'
1919

2020
- run: npm ci
2121

@@ -31,4 +31,4 @@ jobs:
3131
uses: cycjimmy/semantic-release-action@v2
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"url": "git://github.com/sourceallies/rtl-mock-component.git"
1010
},
1111
"publishConfig": {
12-
"registry": "https://npm.pkg.github.com"
12+
"registry": "https://registry.npmjs.org"
1313
},
1414
"files": [
1515
"dist",

0 commit comments

Comments
 (0)