From 43ca897b5b916fa815a4b5d32564c8d1d6c561f8 Mon Sep 17 00:00:00 2001 From: Leela Prasad <47483946+leelaprasadv@users.noreply.github.com> Date: Fri, 13 Dec 2024 13:31:33 +0530 Subject: [PATCH 1/3] Create manual.yml --- .github/workflows/manual.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/manual.yml diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml new file mode 100644 index 0000000..91f76ba --- /dev/null +++ b/.github/workflows/manual.yml @@ -0,0 +1,33 @@ +# This is a basic workflow that is manually triggered + +name: Manual workflow + +# Controls when the action will run. Workflow runs when manually triggered using the UI +# or API. +on: + workflow_dispatch: + # Inputs the workflow accepts. + inputs: + name: + # Friendly description to be shown in the UI instead of 'name' + description: 'Person to greet' + # Default value if no value is explicitly provided + default: 'World' + # Input has to be provided for the workflow to run + required: true + # The data type of the input + type: string + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "greet" + greet: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Runs a single command using the runners shell + - name: Send greeting + run: echo "Hello ${{ inputs.name }}" + - run: env From 8890ab6148c551db2a1b73d68cec7ee70f0100e2 Mon Sep 17 00:00:00 2001 From: Leela Prasad <47483946+leelaprasadv@users.noreply.github.com> Date: Sat, 14 Dec 2024 00:06:49 +0530 Subject: [PATCH 2/3] circle ci --- .circleci/config.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..275b38f --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,37 @@ +version: 2.1 + +jobs: + build: + docker: + - image: cimg/node:20.0 + + steps: + - checkout + + # - restore_cache: + # keys: + # - node-deps-{{ checksum "package-lock.json" }} + # - node-deps- + + # - run: + # name: Install Dependencies + # command: npm install + + # - save_cache: + # paths: + # - node_modules + # key: node-deps-{{ checksum "package-lock.json" }} + + # - run: + # name: Run Tests + # command: npm test + + - run: + name: Print Env + command: env + +workflows: + version: 2 + build-and-test: + jobs: + - build \ No newline at end of file From bbb3d022435ce84f46680b1139b0558ba06f40c6 Mon Sep 17 00:00:00 2001 From: Leela Prasad <47483946+leelaprasadv@users.noreply.github.com> Date: Sat, 14 Dec 2024 00:10:23 +0530 Subject: [PATCH 3/3] update --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 275b38f..78c09bd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,6 +30,7 @@ jobs: name: Print Env command: env + workflows: version: 2 build-and-test: