-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
528fb4a
commit 184731f
Showing
3 changed files
with
33 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,30 +39,5 @@ jobs: | |
- name: Setup | ||
uses: ./.github/actions/setup | ||
|
||
# - name: Pre-Pack Packages | ||
# run: yarn prepack | ||
|
||
- name: Authenticate with Registry | ||
run: | | ||
yarn logout | ||
echo "init-author-name=Frontegg LTD" > .npmrc | ||
echo "[email protected]" >> .npmrc | ||
echo "init-author-url=https://frontegg.com" >> .npmrc | ||
echo "init-license=MIT" >> .npmrc | ||
echo "always-auth=true" >> .npmrc | ||
echo "registry=https://registry.npmjs.org" >> .npmrc | ||
echo "_authToken=$NPM_TOKEN" >> .npmrc | ||
echo "@frontegg:registry=https://registry.npmjs.org" >> .npmrc | ||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc | ||
npm whoami | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} | ||
|
||
- name: Pack Package | ||
run: | | ||
yarn pack | ||
- name: Publish @frontegg/react-native version to NPM | ||
run: npm publish --tag latest | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} | ||
- name: Pre-Pack Packages | ||
run: yarn prepack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters