From 1e1f27d4c1ce17cac4affd625c611221d2c7320d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilherme=20Ara=C3=BAjo?= Date: Tue, 27 Jun 2023 16:32:39 -0300 Subject: [PATCH 1/6] chore: check code format on ci --- .github/workflows/pull-request.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index fb71a7cacf97a..c329160241677 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -5,8 +5,8 @@ on: workflow_dispatch: jobs: - lint: - name: Lint + lint-and-format: + name: Lint and format runs-on: ubuntu-latest steps: @@ -41,6 +41,13 @@ jobs: TURBO_TEAM: ${{ secrets.TURBO_TEAM }} NEXT_TELEMETRY_DISABLED: 1 + - name: Run prettier + run: npx turbo prettier + env: + TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} + TURBO_TEAM: ${{ secrets.TURBO_TEAM }} + NEXT_TELEMETRY_DISABLED: 1 + - name: Save Cache uses: actions/cache/save@v3 with: From 9147c124312aab9c26bd969aaec36095f23c9866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilherme=20Ara=C3=BAjo?= Date: Wed, 28 Jun 2023 16:29:27 -0300 Subject: [PATCH 2/6] chore: revert job name --- .github/workflows/pull-request.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index c329160241677..73de714e7983c 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -5,8 +5,8 @@ on: workflow_dispatch: jobs: - lint-and-format: - name: Lint and format + lint: + name: Lint runs-on: ubuntu-latest steps: From 0ba06bc360db24a705b6886635c24dd971a5e6a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilherme=20Ara=C3=BAjo?= Date: Thu, 29 Jun 2023 14:38:44 -0300 Subject: [PATCH 3/6] chore: update prettier job name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Shiba <128208841+HinataKah0@users.noreply.github.com> Signed-off-by: Guilherme Araújo --- .github/workflows/pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 73de714e7983c..10d89dfe52987 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -41,7 +41,7 @@ jobs: TURBO_TEAM: ${{ secrets.TURBO_TEAM }} NEXT_TELEMETRY_DISABLED: 1 - - name: Run prettier + - name: Run Prettier run: npx turbo prettier env: TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} From 274db1bb31fcdebeb4818d3eeb7241eb66fc9cdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilherme=20Ara=C3=BAjo?= Date: Fri, 30 Jun 2023 12:29:01 -0300 Subject: [PATCH 4/6] chore: format files --- pages/ko/docs/index.mdx | 6 +++--- public/blog-posts-data.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/ko/docs/index.mdx b/pages/ko/docs/index.mdx index 06c1edcc81249..de1bf3b782cbf 100644 --- a/pages/ko/docs/index.mdx +++ b/pages/ko/docs/index.mdx @@ -9,9 +9,9 @@ labels: 이 웹사이트에는 여러 종류의 문서가 있습니다. -- API 레퍼런스 문서 -- ES6 기능 -- 안내(가이드) +- API 레퍼런스 문서 +- ES6 기능 +- 안내(가이드) ## API 레퍼런스 문서 diff --git a/public/blog-posts-data.json b/public/blog-posts-data.json index 23462569ab7af..056852a42be78 100644 --- a/public/blog-posts-data.json +++ b/public/blog-posts-data.json @@ -1 +1 @@ -{"pagination": [],"categories": [],"posts": []} +{ "pagination": [], "categories": [], "posts": [] } From df19093ed2fb75aca3c821208509ff3c25fb3b72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilherme=20Ara=C3=BAjo?= Date: Fri, 30 Jun 2023 12:49:21 -0300 Subject: [PATCH 5/6] chore: update pre-commit blog-posts-data.json --- .husky/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index eedf3761036e3..bbd2b1c211a18 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -7,7 +7,7 @@ DIR=$(cd `dirname $0` && pwd -P) echo "[]" > $DIR/../public/node-releases-data.json # resets the blog post data file -echo "{\"pagination\": [],\"categories\": [],\"posts\": []}" > $DIR/../public/blog-posts-data.json +echo "{ \"pagination\": [], \"categories\": [], \"posts\": [] }" > $DIR/../public/blog-posts-data.json # adds these changes to be part of the current commit git add --sparse $DIR/../public/node-releases-data.json From e054422352f13593d18b5ed6c6a49e0f01380d47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilherme=20Ara=C3=BAjo?= Date: Fri, 30 Jun 2023 15:18:34 -0300 Subject: [PATCH 6/6] chore: remove useless next env --- .github/workflows/pull-request.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 10d89dfe52987..2d75234bfbaf8 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -39,14 +39,12 @@ jobs: env: TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} TURBO_TEAM: ${{ secrets.TURBO_TEAM }} - NEXT_TELEMETRY_DISABLED: 1 - name: Run Prettier run: npx turbo prettier env: TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} TURBO_TEAM: ${{ secrets.TURBO_TEAM }} - NEXT_TELEMETRY_DISABLED: 1 - name: Save Cache uses: actions/cache/save@v3 @@ -101,14 +99,12 @@ jobs: env: TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} TURBO_TEAM: ${{ secrets.TURBO_TEAM }} - NEXT_TELEMETRY_DISABLED: 1 - name: Run Storybook Tests run: npx turbo test:storybook env: TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} TURBO_TEAM: ${{ secrets.TURBO_TEAM }} - NEXT_TELEMETRY_DISABLED: 1 - name: Save Cache uses: actions/cache/save@v3