Skip to content

Commit

Permalink
ella wf test
Browse files Browse the repository at this point in the history
  • Loading branch information
saloni-groww committed Jul 10, 2024
1 parent 68e9aca commit 29fc455
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ella.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
env:
package_dir: 'packages'
package_name: 'ella'
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN_WEB_OSS }}

jobs:
publish:
Expand Down Expand Up @@ -52,8 +51,8 @@ jobs:
echo "Is new version: ${{ steps.cpv.outputs.is-new-version }}"
- run: |
git config --global user.email "release-bot@groww.in"
git config --global user.name "github-bot"
git config --global user.email "web-core@groww.in"
git config --global user.name "baabu-ji"
- run: |
pnpm install
Expand All @@ -62,13 +61,15 @@ jobs:
- if: steps.cpv.outputs.is-new-version == 'true'
name: Deploy the documents on github pages
run: |
git remote set-url origin https://git:${env.GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npm run push-doc -- -u "github-bot <release-bot@groww.in>"
working-directory: './${{env.package_dir}}/${{env.package_name}}'
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN_WEB_OSS }}

- if: steps.cpv.outputs.is-new-version == 'true'
uses: ./.github/workflows/actions/pnpm_publish
with:
github_token: ${{secrets.GIT_TOKEN_WEB_OSS}}
npm_token: ${{secrets.NPM_TOKEN_WEB_OSS}}
path: './${{env.package_dir}}/${{env.package_name}}'
path: './${{env.package_dir}}/${{env.package_name}}'
2 changes: 1 addition & 1 deletion packages/ella/src/date/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { dispatchCustomEvent } from '../dom';
import { isEmpty } from '../general';
import { CUSTOM_EVENTS } from '../utils/constants';

console.log("Testing changes")
console.log("Testing changes testing")
/**
* This method can be used to get month name abbreviation from month number.
*
Expand Down

0 comments on commit 29fc455

Please sign in to comment.