Skip to content

Commit

Permalink
chore(ci): configure circle ci
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzarbn committed Sep 11, 2022
1 parent a68e254 commit b2a65b7
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
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@5.0.2
heroku: circleci/heroku@1.2.6

jobs:
test:
executor: node/default
steps:
- checkout
- node/install-packages:
pkg-manager: npm
- run:
command: npm run test
name: Run tests
- run:
command: npm run test
name: Build package
- persist_to_workspace:
root: ~/project
paths:
- .
workflows:
default:
jobs:
- test
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
},
"license": "MIT",
"scripts": {
"prepare": "npm run compile",
"compile": "tsc -b tsconfig.json",
"prepare": "npm run build",
"build": "tsc -b tsconfig.json",
"watch": "tsc -b --watch tsconfig.json",
"test": "jest"
},
Expand Down

0 comments on commit b2a65b7

Please sign in to comment.