forked from auth0/auth0.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
56 lines (55 loc) · 1.28 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
version: 2.1
orbs:
ship: auth0/[email protected]
jobs:
build:
docker:
- image: circleci/node:12-browsers
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: Generate Coverage
command: npm run ci:coverage
- run:
name: BrowserStack tests
command: npm run test:e2e:browserstack
- store_artifacts:
path: dist
- store_artifacts:
path: junit
- store_test_results:
path: junit
workflows:
build-and-test:
jobs:
- build:
context:
- browserstack-env
- ship/node-publish:
requires:
- build
context:
- publish-npm
- publish-gh
filters:
branches:
only:
- master