From b6dd07459e39eef2dde395d9e0594ec0aa3df48a Mon Sep 17 00:00:00 2001 From: Ichitux Date: Fri, 27 Mar 2026 17:45:38 +0100 Subject: [PATCH] Update node.js.yml --- .github/workflows/node.js.yml | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index a60d598..b33bdf2 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -37,25 +37,6 @@ jobs: - run: npm ci - run: npm run build --if-present - run: npm test - - name: Output Build Status - uses: actions/github-script@v6 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - script: | - const { context } = require('@actions/github'); - const core = require('@actions/core'); - const fs = require('fs'); - const path = require('path'); - const readline = require('readline'); - - const outputPath = path.join(process.env.GITHUB_WORKSPACE, 'README.md'); - const fileStream = fs.createWriteStream(outputPath, { flags: 'a' }); - const rl = readline.createInterface({ input: process.stdin, output: fileStream }); - - if (context.isFailureGroup) { - core.setFailed('Build failed'); - } else { - rl.write('## Build Status\n'); - rl.write('![Build Status](https://github.com/Ichitux/lambada-fiesta-live/workflows/Node.js%20CI/badge.svg)\n'); - rl.close(); - } + - name: Tests Badge + uses: ljunker/test-badge-action@v1.1 +