Skip to content

Commit 34950e0

Browse files
araujoguiHinataKah0ovflowdHarkunwar
authored
chore: check code format on ci (#5455)
* chore: check code format on ci * chore: revert job name * chore: update prettier job name Co-authored-by: Shiba <128208841+HinataKah0@users.noreply.github.com> Signed-off-by: Guilherme Araújo <guilherme.araujo@maxxidata.com> * chore: format files * chore: update pre-commit blog-posts-data.json * chore: remove useless next env --------- Signed-off-by: Guilherme Araújo <guilherme.araujo@maxxidata.com> Co-authored-by: Shiba <128208841+HinataKah0@users.noreply.github.com> Co-authored-by: Claudio Wunder <cwunder@gnome.org> Co-authored-by: Harkunwar Kochar <10580591+Harkunwar@users.noreply.github.com>
1 parent 6a0b0b5 commit 34950e0

4 files changed

Lines changed: 11 additions & 8 deletions

File tree

.github/workflows/pull-request.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,12 @@ jobs:
3939
env:
4040
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
4141
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
42-
NEXT_TELEMETRY_DISABLED: 1
42+
43+
- name: Run Prettier
44+
run: npx turbo prettier
45+
env:
46+
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
47+
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
4348

4449
- name: Save Cache
4550
uses: actions/cache/save@v3
@@ -94,14 +99,12 @@ jobs:
9499
env:
95100
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
96101
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
97-
NEXT_TELEMETRY_DISABLED: 1
98102

99103
- name: Run Storybook Tests
100104
run: npx turbo test:storybook
101105
env:
102106
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
103107
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
104-
NEXT_TELEMETRY_DISABLED: 1
105108

106109
- name: Save Cache
107110
uses: actions/cache/save@v3

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DIR=$(cd `dirname $0` && pwd -P)
77
echo "[]" > $DIR/../public/node-releases-data.json
88

99
# resets the blog post data file
10-
echo "{\"pagination\": [],\"categories\": [],\"posts\": []}" > $DIR/../public/blog-posts-data.json
10+
echo "{ \"pagination\": [], \"categories\": [], \"posts\": [] }" > $DIR/../public/blog-posts-data.json
1111

1212
# adds these changes to be part of the current commit
1313
git add --sparse $DIR/../public/node-releases-data.json

pages/ko/docs/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ labels:
99

1010
이 웹사이트에는 여러 종류의 문서가 있습니다.
1111

12-
- API 레퍼런스 문서
13-
- ES6 기능
14-
- 안내(가이드)
12+
- API 레퍼런스 문서
13+
- ES6 기능
14+
- 안내(가이드)
1515

1616
## API 레퍼런스 문서
1717

public/blog-posts-data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"pagination": [],"categories": [],"posts": []}
1+
{ "pagination": [], "categories": [], "posts": [] }

0 commit comments

Comments
 (0)