mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-02 05:03:44 +08:00
# Conflicts: # .vscode/launch.json # CONTRIBUTING.old.md # code/lib/cli/tsconfig.json # scripts/tsconfig.json
31 lines
1.0 KiB
YAML
31 lines
1.0 KiB
YAML
name: Generate And Push Repros
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '2 2 */1 * *'
|
|
workflow_dispatch:
|
|
# To remove when the branch will be merged
|
|
push:
|
|
branches:
|
|
- generate-repros
|
|
|
|
jobs:
|
|
update:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
YARN_ENABLE_IMMUTABLE_INSTALLS: false
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup git user
|
|
run: |
|
|
git config --global user.name "Storybook Bot"
|
|
git config --global user.email "bot@storybook.js.org"
|
|
- name: Change directory
|
|
run: cd code
|
|
- name: Install dependencies
|
|
run: yarn install
|
|
- name: Generate repros with Latest Storybook CLI
|
|
run: yarn generate-repros --remote=https://storybook-bot:${{ secrets.PAT_STORYBOOK_BOT}}@github.com/storybookjs/repro-templates.git --push --force-push
|
|
- name: Generate repros with Next Storybook CLI
|
|
run: yarn generate-repros --next --remote=https://storybook-bot:${{ secrets.PAT_STORYBOOK_BOT}}@github.com/storybookjs/repro-templates.git --push --force-push
|