Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds initial circle config file #32

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
21 changes: 21 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,21 @@
version: 2

jobs:
build:
docker:
- image: circleci/node:12
steps:
- checkout
- run: node -v
- run: npm -v
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yarn versions gives you the versions of Node, Yarn and built-in module versions in one command.

- run:
name: dependency-install
command: yarn install --frozen-lockfile
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are not committing yarn.lock so this will fail.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The result of this should also be cached.

- run: # run tests
name: build
command: yarn run compile

workflows:
build_and_test:
jobs:
- build: