generated from vidhill/npm-package-template
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #3 from vidhill/feature/add-circle-ci
- Loading branch information
Showing
4 changed files
with
24,705 additions
and
4 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,36 @@ | ||
|
||
version: 2.1 | ||
|
||
orbs: | ||
node: circleci/node@4.1 | ||
|
||
|
||
jobs: | ||
build-and-test: | ||
# A list of available CircleCI Docker Convenience Images are available here: https://circleci.com/developer/images/image/cimg/node | ||
docker: | ||
- image: cimg/node:15.1 | ||
|
||
steps: | ||
# Checkout the code as the first step. | ||
- checkout | ||
- node/install-packages | ||
- run: | ||
name: Run lint | ||
command: npm run lint | ||
- run: | ||
name: Run tests | ||
command: npm test | ||
# persist code coverage report | ||
- store_artifacts: | ||
path: coverage | ||
|
||
|
||
workflows: | ||
# Below is the definition of your workflow. | ||
# Inside the workflow, you provide the jobs you want to run, e.g this workflow runs the build-and-test job above. | ||
# CircleCI will run this workflow on every commit. | ||
# For more details on extending your workflow, see the configuration docs: https://circleci.com/docs/2.0/configuration-reference/#workflows | ||
main: | ||
jobs: | ||
- build-and-test |
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
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
Oops, something went wrong.