Skip to content

Commit

Permalink
Reverted .yarnrc file
Browse files Browse the repository at this point in the history
Added additional step to log in into npm using yarn to github flow
  • Loading branch information
KardanovIR committed Jul 26, 2023
1 parent 821c38b commit 88c8ac0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ jobs:
run: yarn
- name: Build
run: yarn build
- name: Setup .yarnrc.yml
run: |
yarn config set npmAuthToken $NPM_AUTH_TOKEN
yarn config set npmAlwaysAuth true
env:
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Publish
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
Expand Down
4 changes: 1 addition & 3 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
nodeLinker: node-modules
npmAuthToken: $NPM_AUTH_TOKEN
npmAlwaysAuth: true
npmRegistryServer: https://registry.npmjs.org/

yarnPath: .yarn/releases/yarn-3.6.1.cjs

0 comments on commit 88c8ac0

Please sign in to comment.