File tree Expand file tree Collapse file tree 2 files changed +67
-54
lines changed Expand file tree Collapse file tree 2 files changed +67
-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:hbs
28
+ - run : npm run lint:js
29
+ - run : npm run test
30
+
31
+
32
+ test-addon-floating :
33
+ name : Test addon (floating dependencies)
34
+ runs-on : ubuntu-latest
35
+ steps :
36
+ - uses : actions/checkout@v2
37
+ - uses : actions/setup-node@v2
38
+ with :
39
+ node-version : ${{ env.NODE_VERSION }}
40
+
41
+ - run : npm i -g npm@7
42
+ - run : npm install --no-package-lock
43
+ - run : npm run test:ember
44
+
45
+ test-compatibility :
46
+ name : Test compatibility
47
+ runs-on : ubuntu-latest
48
+ needs : test
49
+ strategy :
50
+ matrix :
51
+ scenario :
52
+ - ' ember-lts-3.4'
53
+ - ' ember-lts-3.8'
54
+ - ' ember-release'
55
+ - ' ember-beta'
56
+ - ' ember-canary'
57
+ - ' ember-default-with-jquery'
58
+ steps :
59
+ - uses : actions/checkout@v2
60
+ - uses : actions/setup-node@v2
61
+ with :
62
+ node-version : ${{ env.NODE_VERSION }}
63
+
64
+ - run : npm i -g npm@7
65
+ - run : npm ci
66
+ - name : Test
67
+ 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