mirror of
https://github.com/IT4Change/boilerplate-frontend.git
synced 2025-12-13 07:35:53 +00:00
workflow deploy chromatic
This commit is contained in:
parent
417715278d
commit
85d7be9531
18
.github/workflows/frontend.deploy.chromatic.yml
vendored
Normal file
18
.github/workflows/frontend.deploy.chromatic.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
name: "frontend:deploy:chromatic"
|
||||
on: [push]
|
||||
#on:
|
||||
# push:
|
||||
# branches:
|
||||
# - master
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
name: Chromatic - Frontend
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Frontend | Build
|
||||
run: npm install && npm run chromatic -- --exit-zero-on-changes
|
||||
Loading…
x
Reference in New Issue
Block a user