From e7f98481d48aee0027a7c61b34dca1b5abfa71b0 Mon Sep 17 00:00:00 2001 From: Keisuke Umeno <9renpoto@gmail.com> Date: Thu, 1 Feb 2024 22:53:56 +0900 Subject: [PATCH 1/5] chore: add utm_source param --- .github/workflows/feed-to-social-media.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/feed-to-social-media.yml b/.github/workflows/feed-to-social-media.yml index cc4a1e9..3702080 100644 --- a/.github/workflows/feed-to-social-media.yml +++ b/.github/workflows/feed-to-social-media.yml @@ -20,12 +20,14 @@ jobs: postFormat: "Blogged: {title}\n\n{link}" # Twitter settings twitterEnable: true + twitterPostFormat: "Blogged: {title}\n\n{link}?utm_source=twitter" twitterApiKey: ${{ secrets.X_API_KEY }} twitterApiKeySecret: ${{ secrets.X_API_SECRET }} twitterAccessToken: ${{ secrets.X_ACCESS_TOKEN }} twitterAccessTokenSecret: ${{ secrets.X_ACCESS_TOKEN_SECRET }} # Bluesky settings blueskyEnable: true + blueskyPostFormat: "Blogged: {title}\n\n{link}?utm_source=bsky" blueskyAppPassword: ${{ secrets.BSKY_APP_PASSWORD }} blueskyHandle: "9renpoto.win" blueskyOwnerHandle: "9renpoto.win" From 0cc17a5353d5489bbeceb52fccf4bf9f0e2f9f5d Mon Sep 17 00:00:00 2001 From: Keisuke Umeno <9renpoto@gmail.com> Date: Thu, 1 Feb 2024 23:39:46 +0900 Subject: [PATCH 2/5] chore: add new entry --- posts/2024/02/01/eza.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 posts/2024/02/01/eza.md diff --git a/posts/2024/02/01/eza.md b/posts/2024/02/01/eza.md new file mode 100644 index 0000000..b3520f3 --- /dev/null +++ b/posts/2024/02/01/eza.md @@ -0,0 +1,19 @@ +--- +date: '2024-02-01' +title: eza のあるカラフルな生活 +--- + +# TL;DR + +- I started using `eza` and graduated to `tree`. +- `eza-community/eza` is a fork of `ogham/exa` +- I still use `ls` too! + +I love ls. +I can't remember how many times I've repeated the same thing. + +We can use `ls` anywhere. + +The nice thing about `eza` is that it is colorful. +It requires some installation, but I will try to be friends with it for a while. + From 1c0ec15aa2c35c34cfa3632cdf98c7553c9476b7 Mon Sep 17 00:00:00 2001 From: Keisuke Umeno <9renpoto@gmail.com> Date: Thu, 1 Feb 2024 23:46:20 +0900 Subject: [PATCH 3/5] fix: format --- posts/2024/02/01/eza.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/posts/2024/02/01/eza.md b/posts/2024/02/01/eza.md index b3520f3..ed1094c 100644 --- a/posts/2024/02/01/eza.md +++ b/posts/2024/02/01/eza.md @@ -9,11 +9,9 @@ title: eza のあるカラフルな生活 - `eza-community/eza` is a fork of `ogham/exa` - I still use `ls` too! -I love ls. -I can't remember how many times I've repeated the same thing. +I love ls. I can't remember how many times I've repeated the same thing. We can use `ls` anywhere. -The nice thing about `eza` is that it is colorful. -It requires some installation, but I will try to be friends with it for a while. - +The nice thing about `eza` is that it is colorful. It requires some +installation, but I will try to be friends with it for a while. From 2d2d5fe77dcb6dbd49bf27c7ca9f3403e6a65329 Mon Sep 17 00:00:00 2001 From: Keisuke Umeno <9renpoto@gmail.com> Date: Fri, 2 Feb 2024 08:30:52 +0900 Subject: [PATCH 4/5] fix: skip lint --- __tests__/Header.test.tsx | 1 + __tests__/deps.ts | 2 +- __tests__/index.test.tsx | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/__tests__/Header.test.tsx b/__tests__/Header.test.tsx index 2d40196..47526b8 100644 --- a/__tests__/Header.test.tsx +++ b/__tests__/Header.test.tsx @@ -5,6 +5,7 @@ import { Header } from "../components/Header.tsx"; describe("Header", () => { beforeEach(() => { + // deno-lint-ignore no-window window.document = new DOMParser().parseFromString( "", "text/html", diff --git a/__tests__/deps.ts b/__tests__/deps.ts index abca7ac..0146afa 100644 --- a/__tests__/deps.ts +++ b/__tests__/deps.ts @@ -4,7 +4,7 @@ /// /// -export { DOMParser } from "https://deno.land/x/deno_dom@v0.1.37/deno-dom-wasm.ts"; +export { DOMParser } from "https://deno.land/x/deno_dom@v0.1.45/deno-dom-wasm.ts"; export { render } from "https://esm.sh/@testing-library/preact@3.2.2"; import "npm:textlint"; import "npm:@9renpoto/textlint-config-ja"; diff --git a/__tests__/index.test.tsx b/__tests__/index.test.tsx index dd77b02..4d0989c 100644 --- a/__tests__/index.test.tsx +++ b/__tests__/index.test.tsx @@ -6,6 +6,7 @@ import { PostCard } from "../routes/index.tsx"; describe("PostCard", () => { beforeEach(() => { + // deno-lint-ignore no-window window.document = new DOMParser().parseFromString( "", "text/html", From e5598c2b9a0d8cb6fd9ef1018948182a6e8e0ebb Mon Sep 17 00:00:00 2001 From: Keisuke Umeno <9renpoto@gmail.com> Date: Fri, 2 Feb 2024 08:51:40 +0900 Subject: [PATCH 5/5] chore: import token --- .github/workflows/deno.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml index a3769c3..343df95 100644 --- a/.github/workflows/deno.yml +++ b/.github/workflows/deno.yml @@ -52,4 +52,5 @@ jobs: uses: codecov/codecov-action@v4 with: file: ./coverage.lcov - fail_ci_if_error: true + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}