Skip to content

Commit

Permalink
Fix release script issue (#276)
Browse files Browse the repository at this point in the history
* bump the major version for all packages to adopt the iOS SDK 4.0.0 (#271)

* bump the major version for all packages to 3.0.0 (assurance to 5.0.0)

* align up all package versions and fix Lerna bootstrap issue

* update Xcode to 14.1.0

* show verbose logs when building the ios app

* Fix Yoga issue (facebook/react-native#36758)

* try to fix the Xcode issue

* update docs and disable ios build step on CI (#273)

* fix install issue (#275)
  • Loading branch information
yangyansong-adbe authored Jun 20, 2023
1 parent 82e4900 commit 76092bf
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,28 @@ jobs:
name: npm-publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master
- name: Set up Node.js
uses: actions/setup-node@master
with:
node-version: 16.6.2
- name: install dependencies
run: yarn bootstrap
- name: Authenticate with Registry
run: |
echo "@adobe:registry=https://registry.npmjs.org/" > .npmrc
echo "registry=https://registry.npmjs.org/" >> .npmrc
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
npm whoami
env: # More info about the environment variables in the README
NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }} # This will be shared with your repo as an org secret
- name: transpile
run: yarn build
- name: lerna publish
run: npx lerna publish from-package --yes
env: # More info about the environment variables in the README
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }} # This will be shared with your repo as an org secret
- name: Checkout repository
uses: actions/checkout@master
- name: Set up Node.js
uses: actions/setup-node@master
with:
node-version: 16.6.2
- name: install dependencies
run: yarn install
- name: Authenticate with Registry
run: |
echo "@adobe:registry=https://registry.npmjs.org/" > .npmrc
echo "registry=https://registry.npmjs.org/" >> .npmrc
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
npm whoami
env: # More info about the environment variables in the README
NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }} # This will be shared with your repo as an org secret
- name: transpile
run: yarn build
- name: lerna publish
run: npx lerna publish from-package --yes
env: # More info about the environment variables in the README
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }} # This will be shared with your repo as an org secret

0 comments on commit 76092bf

Please sign in to comment.