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

v3.4.4 #73

Merged
merged 7 commits into from
Mar 27, 2018
Merged
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
75 changes: 75 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
version: 2
jobs:
build_and_test:
docker:
- image: circleci/node:8.10
steps:
- checkout
- restore_cache:
name: Restore Yarn Package Cache
keys:
- yarn-packages-{{ .Branch }}-{{ checksum "yarn.lock" }}
- yarn-packages-{{ .Branch }}
- yarn-packages-master
- yarn-packages-
- run:
name: install globals
command: yarn global add typescript
- run:
name: yarn install
command: yarn
- save_cache:
name: Save Yarn Package Cache
key: yarn-packages-{{ .Branch }}-{{ checksum "yarn.lock" }}
paths:
- node_modules/
- run:
name: coverage tests
command: yarn coverage
- store_test_results:
path: coverage
- store_artifacts:
path: coverage

publish:
docker:
- image: circleci/node:8.10
steps:
- checkout
- run:
name: add npm token
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- run:
name: install globals
command: yarn global add typescript
- run:
name: yarn install
command: yarn
- run:
name: publish package to npm
command: npm publish

workflows:
version: 2
pr_build:
jobs:
- build_and_test:
filters:
branches:
only: /.*/

build_and_publish:
jobs:
- build_and_test:
filters:
branches:
only: master
tags:
only: /v[0-9]+(\.[0-9]+)*.*/
- hold:
type: approval
requires:
- build_and_test
- publish:
requires:
- hold
16 changes: 0 additions & 16 deletions circle.yml

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bot-tester",
"version": "3.4.3",
"version": "3.4.4",
"description": "Easily test bots made with the bot builder framework",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -28,7 +28,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com//microsoftly/BotTester.git"
"url": "https://github.com//microsoftly/BotTester.git"
},
"scripts": {
"buildSrc": "tsc -p src/tsconfig.json",
Expand Down