File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ schedule :
9+ # nightly
10+ - cron : ' 0 0 * * *'
11+
12+ jobs :
13+ lint :
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - uses : actions/checkout@v1
18+ - uses : actions/setup-node@v1.1.0
19+
20+ - run : npm ci
21+ - run : npm run lint
22+
23+ test :
24+ strategy :
25+ matrix :
26+ runner :
27+ - ubuntu-latest
28+ - macos-latest
29+ node-version :
30+ - 8
31+ - 13
32+ test-command :
33+ - test:fast
34+ - test:slow
35+
36+ runs-on : ${{ matrix.runner }}
37+
38+ steps :
39+ - uses : actions/checkout@v1
40+ - uses : actions/setup-node@v1.1.0
41+ with :
42+ version : ${{ matrix.node-version }}
43+
44+ # for test cache hits
45+ - run : npm i -g ember-cli@2.11.1
46+
47+ - run : npm ci
48+ - run : npm run ${{ matrix.test-command }}
49+ env :
50+ NODE_LTS : ${{ matrix.node-version == 8 }}
Original file line number Diff line number Diff line change 1+ name : Publish
2+
3+ on :
4+ push :
5+ tags : v[0-9]+.[0-9]+.[0-9]+
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - uses : actions/checkout@v1
13+ - uses : actions/setup-node@v1
14+ with :
15+ registry-url : ' https://registry.npmjs.org'
16+
17+ - run : npm publish
18+ env :
19+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ describe(function() {
198198 await fs . remove ( path . join ( tmpPath , 'MODULE_REPORT.md' ) ) ;
199199
200200 let nodeVersion = 'latest-node' ;
201- if ( process . env . NODE_LTS ) {
201+ if ( process . env . NODE_LTS === 'true' ) {
202202 nodeVersion = 'min-node' ;
203203 }
204204
You can’t perform that action at this time.
0 commit comments