-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from ELEVATE-Project/circleci
circle ci added
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|