We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b249684 commit 0946992Copy full SHA for 0946992
.github/workflows/main.yml
@@ -12,8 +12,10 @@ jobs:
12
- uses: actions/setup-node@v1
13
with:
14
node-version: 12
15
- - run: npm install
16
- - run: npm test
17
- - uses: JS-DevTools/npm-publish@v1
18
- with:
19
- token: ${{ secrets.NPM_TOKEN }}
+ registry-url: https://registry.npmjs.org/
+ - run: yarn install
+ - run: |
+ npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
+ npm publish --access public
20
+ env:
21
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments