Skip to content

MultiSelect storybook updates (#14711) #5

MultiSelect storybook updates (#14711)

MultiSelect storybook updates (#14711) #5

name: Sync generated files
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 #v4.1.0
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Install dependencies
run: yarn install --immutable --immutable-cache
- name: Build project
run: yarn build
- name: Sync project dependency files
run: yarn sync
- name: Push generated artifacts to GitHub
env:
GITHUB_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
run: |
if [ -n "$(git status --porcelain)" ]; then
echo "Our git status is not clean. Checking in the following files:";
echo "$(git status --porcelain)";
git config --global credential.helper 'cache --timeout=120'
git config --global user.email "[email protected]"
git config --global user.name "carbon-bot"
git remote set-url origin "https://x-access-token:[email protected]/carbon-design-system/carbon.git"
git checkout main
git add -A
git commit -m "chore(project): sync generated files"
git push
fi