Skip to content
Open
Show file tree
Hide file tree
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
21 changes: 7 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
version: 2
jobs:
build:
docker: # tircleci/node:10.0.0 # the primary container, where your job's commands are run
- image: circleci/node:10.0.0 # run in the background
steps:
- checkout # check out the code in the project directory
- run: npm install
- run: npm start &
- run: npm test
- deploy:
name: digital-ocean
command: ssh -o "StrictHostKeyChecking no" [email protected]"cd ~/circleciexpress; git pull; npm install; npm start &"

version: 2.1
orbs:
node: circleci/[email protected]
workflows:
node-tests:
jobs:
- node/test
7 changes: 7 additions & 0 deletions config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2.1
orbs:
node: circleci/[email protected]
workflows:
node-tests:
jobs:
- node/test