From 16abf540a139cfcc46c0798e9e1ba2b5f1702422 Mon Sep 17 00:00:00 2001 From: pgsweet <113042887+pgsweet@users.noreply.github.com> Date: Tue, 6 May 2025 17:33:45 -0400 Subject: [PATCH] fixed yml --- .github/workflows/node.js.yml | 7 +++++++ .github/workflows/test-suite.yml | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 3023484d..aee95618 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -31,6 +31,13 @@ jobs: - name: Set config file run: cp config.example.ts config.ts + - name: Check for binding.gyp + run: | + if [ ! -f binding.gyp ]; then + echo "Error: binding.gyp not found. Exiting." + exit 1 + fi + - name: build run: | npm run build 2>&1 | tee build-output.log diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 56c579c8..a66c06b5 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: typescript @@ -20,7 +20,7 @@ jobs: npm run build || true - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 touca-test: runs-on: ubuntu-latest