CircleCI replaces travis for ci
This commit is contained in:
parent
822d62e14e
commit
f5ed604225
32
.circleci/config.yml
Normal file
32
.circleci/config.yml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
version: 2.1
|
||||||
|
|
||||||
|
orbs:
|
||||||
|
node: circleci/node@1.1.6
|
||||||
|
yarn: substantial/yarn@3.10.2
|
||||||
|
node-build: substantial/node-build@2.3.0
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
executor:
|
||||||
|
name: node/default
|
||||||
|
tag: '12.14.1'
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- yarn/install:
|
||||||
|
cache-version: v2
|
||||||
|
yarn-audit: false
|
||||||
|
- node-build/eslint
|
||||||
|
- run:
|
||||||
|
name: Test
|
||||||
|
command: |
|
||||||
|
yarn test
|
||||||
|
- run:
|
||||||
|
name: dtslint
|
||||||
|
command: |
|
||||||
|
yarn dtslint
|
||||||
|
- run:
|
||||||
|
name: build
|
||||||
|
command: |
|
||||||
|
yarn build
|
||||||
|
- node-build/store-results
|
||||||
|
- node-build/release
|
@ -1,9 +0,0 @@
|
|||||||
sudo: false
|
|
||||||
language: node_js
|
|
||||||
node_js:
|
|
||||||
- '8'
|
|
||||||
- '10'
|
|
||||||
notifications:
|
|
||||||
email:
|
|
||||||
on_success: change
|
|
||||||
on_failure: always
|
|
Loading…
Reference in New Issue
Block a user