Skip to content

Commit

Permalink
text ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
Fa-So committed Oct 12, 2020
1 parent b61aae7 commit 70b5988
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
always-auth: true
NPM_TOKEN: ${{secrets.NPM_TOKEN_AUTH}}

- name: "👟 NPM install"
run: npm ci
Expand Down Expand Up @@ -53,7 +51,6 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
registry-url: https://npm.pkg.github.com/ # Needed for auth

- name: "👟 NPM install"
run: npm ci
Expand Down Expand Up @@ -84,11 +81,11 @@ jobs:
asset_name: dist-bundle.zip
asset_content_type: application/zip

# npm publish --soenmez:registry='https://npm.pkg.github.com' --access=public --scope=@soenmez/react-bootstrap-tagsinput

- name: "💕npm publish"
id: publish
run: npm config set '//npm.pkg.github.com/:_authToken' "${NPM_TOKEN}" && npm publish --access public --registry=https://npm.pkg.github.com/
run: |
npm config set '//npm.pkg.github.com/:_authToken' "${NPM_TOKEN}"
npm publish --access public --registry=https://npm.pkg.github.com/
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN_AUTH}}
NPM_TOKEN: ${{secrets.NPM_TOKEN_AUTH}}
Expand Down

0 comments on commit 70b5988

Please sign in to comment.