diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..27a25c4 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,36 @@ +name: CI Pipeline + +on: + pull_request: + push: + branches: + - main + +jobs: + run-tests: + runs-on: ubuntu-latest + + steps: + # Step 1: Check out the code from the repository + - name: Checkout code + uses: actions/checkout@v3 + + # Step 2: Set up Node.js environment + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: '16' # Specify the Node.js version + + # Step 3: Change working directory + - name: Change Directory + run: cd Enhancing-Bioinformatics-Research-through-LLM/llm_bioinformatics_research + + # Step 4: Install dependencies + - name: Install dependencies + run: npm install + working-directory: Enhancing-Bioinformatics-Research-through-LLM/llm_bioinformatics_research + + # Step 5: Run tests + - name: Run tests + run: npm test + working-directory: Enhancing-Bioinformatics-Research-through-LLM/llm_bioinformatics_research