Skip to content

Commit

Permalink
Merge branch 'development' into TP-2013_adding_video_360_button_on_mo…
Browse files Browse the repository at this point in the history
…bile
  • Loading branch information
emanuelheredia committed Sep 20, 2024
2 parents 12e7c4f + 165f612 commit 8b6e174
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 6 deletions.
34 changes: 31 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,52 @@ jobs:
- name: Install dependencies
run: yarn install
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Install Lerna
run: yarn global add [email protected]

- name: Configure Git identity
run: |
git config --global user.name "aguescribano87"
git config --global user.email "[email protected]"
- name: Create and configure .npmrc
run: |
echo 'registry=https://registry.npmjs.org/' > .npmrc
echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc
- name: Run Lerna version
run: yarn lerna version patch --yes

- name: Run Lerna publish
run: yarn lerna publish from-package --yes
run: npx lerna publish from-package --force-publish --yes
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Push changes to master
run: git push origin master --follow-tags
- name: Create and push release branch
run: |
git checkout -b release-branch
git add .
git commit -m "Release new version"
git push origin release-branch
- name: Create Pull Request from release branch to master
uses: repo-sync/pull-request@v2
with:
source_branch: release-branch
destination_branch: master
pr_title: Lerna Publish PR
pr_body: "This PR was automatically created by the Lerna Publish workflow."
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}

- name: Checkout and update development branch
run: |
git fetch origin development
git checkout development
git merge master
git push origin development --follow-tags
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
2 changes: 1 addition & 1 deletion packages/carousel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oneloop/carousel",
"version": "1.0.35",
"version": "1.0.44",
"main": "lib/index.js",
"module": "src/index.js",
"files": [
Expand Down
4 changes: 2 additions & 2 deletions packages/jopijs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oneloop/jopijs",
"version": "1.5.363",
"version": "1.5.372",
"main": "lib/index.js",
"module": "src/index.js",
"files": [
Expand All @@ -13,7 +13,7 @@
"@oneloop/button": "^1.2.364",
"@oneloop/calendar": "^1.0.88",
"@oneloop/card": "^1.0.99",
"@oneloop/carousel": "^1.0.35",
"@oneloop/carousel": "^1.0.44",
"@oneloop/checkbox": "^1.2.320",
"@oneloop/collapsible": "^1.2.366",
"@oneloop/containermenu": "^1.0.120",
Expand Down

0 comments on commit 8b6e174

Please sign in to comment.