diff --git a/ci-cd.yaml b/ci-cd.yaml new file mode 100644 index 0000000..f035cb9 --- /dev/null +++ b/ci-cd.yaml @@ -0,0 +1,21 @@ +name: CI/CD Pipeline +on: + push: + branches: + - main +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Set up node.js + uses: actions/setup-node@v3 + with: + node-version: 16 + - name: Install Dependency + run: npm install + - name: Run tests + run: npm test + - name: Deploy to production + run: npm run