workflow tweaks

This commit is contained in:
hobbes7878 2024-08-21 13:56:25 +01:00
parent 3ebff7f4ab
commit f1ca10a7e4
2 changed files with 6 additions and 1 deletions

View file

@ -15,6 +15,11 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Publish to Chromatic

View file

@ -56,7 +56,7 @@ jobs:
run: npm run build:docs
- id: commit_and_push
name: Commit and push changes
name: Commit and push docs
if: steps.changesets.outputs.published == 'true'
run: |
git config --global user.name 'github-actions[bot]'