hds-web 1.20.4 → 1.20.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,13 @@
1
1
  # .github/workflows/chromatic.yml
2
2
 
3
3
  # Workflow name
4
- name: 'Chromatic'
4
+ name: Chromatic
5
5
 
6
6
  # Event for the workflow
7
- on: push
7
+ on:
8
+ push:
9
+ branches:
10
+ - GouravHasura-patch-1 # Adjust the branch name as needed
8
11
 
9
12
  # List of jobs
10
13
  jobs:
@@ -14,13 +17,9 @@ jobs:
14
17
  # Job steps
15
18
  steps:
16
19
  - uses: actions/checkout@v1
17
- - name: Install dependencies
18
- # 👇 Install dependencies with the same package manager used in the project (replace it as needed), e.g. yarn, npm, pnpm
19
- run: npm
20
- # 👇 Adds Chromatic as a step in the workflow
21
- - name: Publish to Chromatic
22
- uses: chromaui/action@v1
23
- # Chromatic GitHub Action options
20
+ - run: npm install
21
+ #👇 Adds Chromatic as a step in the workflow
22
+ - uses: chromaui/action@v1
23
+ # Options required for Chromatic's GitHub Action
24
24
  with:
25
- # 👇 Chromatic projectToken, refer to the manage page to obtain it.
26
25
  projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}