pipeline {
    agent any
    
    tools {
        nodejs 'nodejs'
    }
    stages{
        stage('Checkout') {
            steps {
                git branch: 'jenkins-build' url: 'https://github.com/dumsilor/link-manage.git'
            }
        }
        stage('Install Dependencies') {
            steps {
                sh 'npm install'
            }
        }
        stage('Deploy') {
            steps {
                echo 'Deploying...'
            }
        }
    }
}