File tree Expand file tree Collapse file tree 2 files changed +66
-54
lines changed Expand file tree Collapse file tree 2 files changed +66
-54
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ tags :
8
+ - v[0-9]+.[0-9]+.[0-9]+
9
+ pull_request :
10
+
11
+ env :
12
+ NODE_VERSION : 10
13
+
14
+ jobs :
15
+ test :
16
+ name : Lint and Test
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - uses : actions/checkout@v2
20
+ - uses : mansona/npm-lockfile-version@v1
21
+ - uses : actions/setup-node@v2
22
+ with :
23
+ node-version : ${{ env.NODE_VERSION }}
24
+
25
+ - run : npm i -g npm@7
26
+ - run : npm ci
27
+ - run : npm run lint
28
+ - run : npm run test
29
+
30
+
31
+ test-addon-floating :
32
+ name : Test addon (floating dependencies)
33
+ runs-on : ubuntu-latest
34
+ steps :
35
+ - uses : actions/checkout@v2
36
+ - uses : actions/setup-node@v2
37
+ with :
38
+ node-version : ${{ env.NODE_VERSION }}
39
+
40
+ - run : npm i -g npm@7
41
+ - run : npm install --no-package-lock
42
+ - run : npm run test:ember
43
+
44
+ test-compatibility :
45
+ name : Test compatibility
46
+ runs-on : ubuntu-latest
47
+ needs : test
48
+ strategy :
49
+ matrix :
50
+ scenario :
51
+ - ' ember-lts-3.4'
52
+ - ' ember-lts-3.8'
53
+ - ' ember-release'
54
+ - ' ember-beta'
55
+ - ' ember-canary'
56
+ - ' ember-default-with-jquery'
57
+ steps :
58
+ - uses : actions/checkout@v2
59
+ - uses : actions/setup-node@v2
60
+ with :
61
+ node-version : ${{ env.NODE_VERSION }}
62
+
63
+ - run : npm i -g npm@7
64
+ - run : npm ci
65
+ - name : Test
66
+ run : npx ember try:one $EMBER_TRY_SCENARIO ${{ matrix.scenario }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments