Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: 2.1
orbs:
node: circleci/node@1.1.6
jobs:
build-and-test-frontend:
# Executor is the environment in which my job is running
executor:
name: node/default
steps:
- checkout
- node/with-cache:
cache-key: frontend/package.json
dir: ~/project/frontend/node_modules
steps:
- run:
command: npm install
working_directory: frontend
- run:
command: npm test
working_directory: frontend
# build-and-test-backend:
workflows:
build-and-test:
jobs:
- build-and-test-frontend
# - build-and-test-backend