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