Skip to content

cicd pipeline#156

Open
ksujata777 wants to merge 3 commits intotechnicalguftgu:masterfrom
ksujata777:master
Open

cicd pipeline#156
ksujata777 wants to merge 3 commits intotechnicalguftgu:masterfrom
ksujata777:master

Conversation

@ksujata777
Copy link

create cicd pipelinname: CI/CD Pipeline

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
  - name: Checkout code
    uses: actions/checkout@v2

  - name: Set up Node.js
    uses: actions/setup-node@v2
    with:
      node-version: '14'

  - name: Install dependencies
    run: npm install

  - name: Run tests
    run: npm test

deploy:
needs: build
runs-on: ubuntu-latest
if: success()

steps:
  - name: Deploy to server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant