mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Tweak Chromatic job
This commit is contained in:
parent
b17bbeed2d
commit
955201a793
9
.github/workflows/chromatic.yml
vendored
9
.github/workflows/chromatic.yml
vendored
@ -19,18 +19,19 @@ jobs:
|
|||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: ./web
|
working-directory: ./web
|
||||||
# Job steps
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
# Make sure the actual branch is checked out when running on pull requests
|
# Make sure the actual branch is checked out when running on pull requests
|
||||||
ref: ${{ github.event.pull_request.head.ref }}
|
ref: ${{ github.event.pull_request.head.ref }}
|
||||||
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- run: npm install --include=dev --force
|
- name: Install dependencies
|
||||||
# 👇 Adds Chromatic as a step in the workflow
|
run: npm install
|
||||||
|
|
||||||
- name: Publish to Chromatic
|
- name: Publish to Chromatic
|
||||||
uses: chromaui/action@v1
|
uses: chromaui/action@v1
|
||||||
# Chromatic GitHub Action options
|
# Chromatic GitHub Action options
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user