Skip to content

Commit

Permalink
Merge pull request #24 from ELEVATE-Project/circleci
Browse files Browse the repository at this point in the history
circle ci added
  • Loading branch information
rakeshSgr authored May 31, 2022
2 parents 9793b6d + 2bd4015 commit 03c5ed9
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This config is equivalent to both the '.circleci/extended/orb-free.yml' and the base '.circleci/config.yml'
version: 2.1

# Orbs are reusable packages of CircleCI configuration that you may share across projects, enabling you to create encapsulated, parameterized commands, jobs, and executors that can be used across multiple projects.
# See: https://circleci.com/docs/2.0/orb-intro/
orbs:
node: circleci/node@4.7

jobs:
test-cases:
docker:
- image: cimg/node:16.10
working_directory: ~/src/
steps:
- checkout:
path: ~/src/
- run:
name: Installing prerequisites
command: |-
node --version
- run:
name: Executing test cases
command: echo "npm run test"


# Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
workflows:
buil-and-test: # This is the name of the workflow, feel free to change it to better match your workflow.
# Inside the workflow, you define the jobs you want to run.
jobs:
- test-cases

0 comments on commit 03c5ed9

Please sign in to comment.