Skip to content

Commit df94bd0

Browse files
feat: update workflow github
1 parent 04fb20f commit df94bd0

2 files changed

Lines changed: 22 additions & 22 deletions

File tree

.github/workflows/format.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
name: Format
22

33
on:
4-
push:
5-
branches:
6-
- main
7-
pull_request:
8-
branches: ['main']
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches: ['main']
99

1010
jobs:
11-
format:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v2
15-
- uses: actions/setup-node@v2
16-
with:
17-
node-version: '16'
18-
cache: npm
19-
- run: npm install
11+
format:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
- uses: actions/setup-node@v3
16+
with:
17+
node-version: '16'
18+
cache: npm
19+
- run: npm install
2020

21-
- name: Formatting code
22-
run: npm run format
21+
- name: Formatting code
22+
run: npm run format
2323

24-
- name: Commit changes
25-
uses: stefanzweifel/git-auto-commit-action@v4
26-
with:
27-
commit_message: '[ci]: format code'
28-
branch: ${{ github.head_ref }}
24+
- name: Commit changes
25+
uses: stefanzweifel/git-auto-commit-action@v4
26+
with:
27+
commit_message: '[ci]: format code'
28+
branch: ${{ github.head_ref }}

docs/buttons/filter-bar-button.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ product: dd360-ds
33
title: React FilterBarButton component
44
components: FilterBarButton
55
---
6-
76
import { DynamicHeroIcon } from 'dd360-ds'
87

8+
99
<br id='top' />
1010
<br />
1111

0 commit comments

Comments
 (0)