From c04d7d7c058714fc9b263876133464b583e6738e Mon Sep 17 00:00:00 2001 From: EmptyWork <22065214+EmptyWork@users.noreply.github.com> Date: Mon, 30 Jun 2025 09:18:21 +0900 Subject: [PATCH 1/3] =?UTF-8?q?update:=20`highlightjs-lines.yml`=20?= =?UTF-8?q?=E2=80=94=20switch=20to=20npm=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/highlightjs-lines.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/highlightjs-lines.yml b/.github/workflows/highlightjs-lines.yml index 147119d..25043cc 100644 --- a/.github/workflows/highlightjs-lines.yml +++ b/.github/workflows/highlightjs-lines.yml @@ -8,7 +8,6 @@ on: jobs: build: - runs-on: ubuntu-latest strategy: @@ -23,4 +22,4 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'npm' - run: npm install - - run: node --test + - run: npm test From e372f8093b7e073e2d0ef4c1329925bb8d815f75 Mon Sep 17 00:00:00 2001 From: EmptyWork <22065214+EmptyWork@users.noreply.github.com> Date: Mon, 30 Jun 2025 09:19:16 +0900 Subject: [PATCH 2/3] =?UTF-8?q?update:=20`package.json`=20=E2=80=94=20scri?= =?UTF-8?q?pt=20for=20test=20and=20test:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1021c39..e2ab73d 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,9 @@ "watch:postcss": "npm run postcss -- --watch", "build": "npm run sass:compressed && npm run postcss && npm run minify:js && eleventy && npm run prettify:html", "start": "npm-run-all sass:compressed postcss --parallel watch:*", - "dev": "npm run watch" + "dev": "npm run watch", + "test:highlightjs-lines": "node ./lib/highlightjs-lines.test.js", + "test": "node --test" }, "repository": { "type": "git", From cebddc6640e253a7b3dbfa8ee1b14502cf04c2b9 Mon Sep 17 00:00:00 2001 From: EmptyWork <22065214+EmptyWork@users.noreply.github.com> Date: Mon, 30 Jun 2025 09:27:35 +0900 Subject: [PATCH 3/3] =?UTF-8?q?update:=20`highlightjs-lines.yml`=20?= =?UTF-8?q?=E2=80=94=20use=20recommended=20nodejs=20versions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/highlightjs-lines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/highlightjs-lines.yml b/.github/workflows/highlightjs-lines.yml index 25043cc..4a28bd1 100644 --- a/.github/workflows/highlightjs-lines.yml +++ b/.github/workflows/highlightjs-lines.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [18.x, 20.x, 22.x] + node-version: [20.x, 22.x, 24.x] steps: - uses: actions/checkout@v4