From d0721fa44c0999027fbf8f9339d9bebcb21fa68f Mon Sep 17 00:00:00 2001 From: EmptyWork <22065214+EmptyWork@users.noreply.github.com> Date: Sun, 29 Jun 2025 19:55:25 +0900 Subject: [PATCH 1/2] =?UTF-8?q?create:=20`highlightjs-lines.yml`=20?= =?UTF-8?q?=E2=80=94=20test=20on=20push=20and=20pull=5Frequest?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/highlightjs-lines.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/highlightjs-lines.yml diff --git a/.github/workflows/highlightjs-lines.yml b/.github/workflows/highlightjs-lines.yml new file mode 100644 index 0000000..aae71ed --- /dev/null +++ b/.github/workflows/highlightjs-lines.yml @@ -0,0 +1,25 @@ +name: Highlightjs-lines Test + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [18.x, 20.x, 22.x] + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: node --test From 44e813aaf6b6696de44d423abc5145d7760ff6b8 Mon Sep 17 00:00:00 2001 From: EmptyWork <22065214+EmptyWork@users.noreply.github.com> Date: Sun, 29 Jun 2025 19:58:47 +0900 Subject: [PATCH 2/2] =?UTF-8?q?update:=20`highlightjs-lines.yml`=20?= =?UTF-8?q?=E2=80=94=20installing=20depedencies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/highlightjs-lines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/highlightjs-lines.yml b/.github/workflows/highlightjs-lines.yml index aae71ed..147119d 100644 --- a/.github/workflows/highlightjs-lines.yml +++ b/.github/workflows/highlightjs-lines.yml @@ -22,4 +22,5 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' + - run: npm install - run: node --test