From 877aa78d874ef865bcd9c046ffc4435b6aaebae0 Mon Sep 17 00:00:00 2001 From: Harsh <71364679+HarshTheSharma@users.noreply.github.com> Date: Mon, 1 Dec 2025 11:46:03 -0800 Subject: [PATCH] Update GitHub Actions workflow for Node.js Added Node.js setup and dependency installation steps. --- .github/workflows/static.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index c679209..f14cf68 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -15,15 +15,20 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Set up Node.js (optional for web projects) + - name: Set up Node.js uses: actions/setup-node@v4 with: node-version: '20' + - name: Install dependencies + run: npm install + - name: Display current directory and files run: | pwd ls -la - - name: Run a simple test command - run: echo "✅ Workflow ran successfully!" + - name: Run server (or tests) + run: | + echo "Starting Node server..." + node server.js