From 16adaaf6dc6b41c8fc0c2c448d7c7891e0e0e45e Mon Sep 17 00:00:00 2001 From: John Chia Heng Kit Date: Mon, 7 Oct 2024 01:07:45 +0800 Subject: [PATCH 1/2] Place ci.yml into .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 46ccfe3c20..2aa0a884a9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules/ docker-compose.prod* +.github/workflows/ci.yml From 572427c744d9055ca8e708313b710793949a11b3 Mon Sep 17 00:00:00 2001 From: John Chia Heng Kit Date: Mon, 7 Oct 2024 01:10:10 +0800 Subject: [PATCH 2/2] Remove ci.yml from repository --- .github/workflows/ci.yml | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index b1d8e3b0d7..0000000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: CI Pipeline - -on: - push: - branches: - - main - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: '18.x' - cache: 'npm' - - - name: Start MongoDB - uses: supercharge/mongodb-github-action@1.9.0 - with: - mongodb-version: '6.0' - - - name: Install dependencies - working-directory: backend/question-service - run: npm ci - - - name: Run Tests - working-directory: backend/question-service - run: npm run test-ci