Skip to content

Commit 70a14e0

Browse files
authored
Merge pull request #1 from leelaprasadv/circle-ci
Circle ci
2 parents 5391eb4 + bbb3d02 commit 70a14e0

File tree

2 files changed

+71
-0
lines changed

2 files changed

+71
-0
lines changed

.circleci/config.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
version: 2.1
2+
3+
jobs:
4+
build:
5+
docker:
6+
- image: cimg/node:20.0
7+
8+
steps:
9+
- checkout
10+
11+
# - restore_cache:
12+
# keys:
13+
# - node-deps-{{ checksum "package-lock.json" }}
14+
# - node-deps-
15+
16+
# - run:
17+
# name: Install Dependencies
18+
# command: npm install
19+
20+
# - save_cache:
21+
# paths:
22+
# - node_modules
23+
# key: node-deps-{{ checksum "package-lock.json" }}
24+
25+
# - run:
26+
# name: Run Tests
27+
# command: npm test
28+
29+
- run:
30+
name: Print Env
31+
command: env
32+
33+
34+
workflows:
35+
version: 2
36+
build-and-test:
37+
jobs:
38+
- build

.github/workflows/manual.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This is a basic workflow that is manually triggered
2+
3+
name: Manual workflow
4+
5+
# Controls when the action will run. Workflow runs when manually triggered using the UI
6+
# or API.
7+
on:
8+
workflow_dispatch:
9+
# Inputs the workflow accepts.
10+
inputs:
11+
name:
12+
# Friendly description to be shown in the UI instead of 'name'
13+
description: 'Person to greet'
14+
# Default value if no value is explicitly provided
15+
default: 'World'
16+
# Input has to be provided for the workflow to run
17+
required: true
18+
# The data type of the input
19+
type: string
20+
21+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
22+
jobs:
23+
# This workflow contains a single job called "greet"
24+
greet:
25+
# The type of runner that the job will run on
26+
runs-on: ubuntu-latest
27+
28+
# Steps represent a sequence of tasks that will be executed as part of the job
29+
steps:
30+
# Runs a single command using the runners shell
31+
- name: Send greeting
32+
run: echo "Hello ${{ inputs.name }}"
33+
- run: env

0 commit comments

Comments
 (0)