forked from auth0/auth0.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
58 lines (57 loc) · 1.3 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: 2.1
orbs:
ship: auth0/ship@0.2.0
codecov: codecov/codecov@3
executors:
docker-executor:
docker:
- image: cimg/node:lts
jobs:
build:
executor: docker-executor
environment:
LANG: en_US.UTF-8
steps:
- checkout
- ship/node-install-packages
- run:
name: Build
command: npm run build
- run:
name: Check for JS incompatibility
command: npm run test:es-check:es5 && npm run test:es-check:es2015:module
- run:
name: Lint
command: npm run lint
- run:
name: Run Tests
command: npm run ci:test
environment:
MOCHA_FILE: junit/test-results.xml
when: always
- run:
name: BrowserStack tests
command: npm run test:e2e:browserstack
- store_artifacts:
path: dist
- store_artifacts:
path: junit
- store_test_results:
path: junit
- codecov/upload
workflows:
build-and-test:
jobs:
- build:
context:
- browserstack-env
- ship/node-publish:
requires:
- build
context:
- publish-npm
- publish-gh
filters:
branches:
only:
- master