Skip to content

Commit

Permalink
Adds new token identification method
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymoulin committed Mar 11, 2022
1 parent ef1d993 commit 27d9f3a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ jobs:
- name: Installing dependencies
run: |
sudo apt update && sudo apt install make npm -y
sudo npm install npm-cli-login --global
npm-cli-login -u "${{ secrets.NPM_LOGIN }}" -p "${{ secrets.NPM_PASSWORD }}" -e "${{ secrets.NPM_EMAIL }}"
sudo npm install --global
- name: Build binary
run: make install-npm
- name: Publish binary
run: npm publish
run: |
echo '//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}' > ${{ github.workspace }}/.npmrc
npm publish

0 comments on commit 27d9f3a

Please sign in to comment.