File tree Expand file tree Collapse file tree 2 files changed +85
-0
lines changed Expand file tree Collapse file tree 2 files changed +85
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " github-actions"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
7+ - package-ecosystem : " npm"
8+ versioning-strategy : " increase"
9+ directory : " /"
10+ schedule :
11+ interval : " weekly"
Original file line number Diff line number Diff line change 1+ name : " CI"
2+ on :
3+ pull_request :
4+ push :
5+ branches :
6+ - master
7+
8+ env :
9+ CI : true
10+
11+ jobs :
12+ Test :
13+ if : " !contains(github.event.head_commit.message, '[skip ci]')"
14+ strategy :
15+ matrix :
16+ os : [ubuntu-latest, macos-latest, windows-latest]
17+ channel : [stable, beta]
18+ fail-fast : false
19+ runs-on : ${{ matrix.os }}
20+ steps :
21+ - uses : actions/checkout@v2
22+ - uses : UziTech/action-setup-atom@v1
23+ with :
24+ channel : ${{ matrix.channel }}
25+ - name : Atom version
26+ run : atom -v
27+ - name : APM version
28+ run : apm -v
29+ - name : Install package dependencies
30+ run : apm i minimap highlight-selected
31+ - name : Install dependencies
32+ run : apm ci
33+ - name : Run tests 👩🏾💻
34+ run : atom --test spec
35+
36+ Lint :
37+ if : " !contains(github.event.head_commit.message, '[skip ci]')"
38+ runs-on : ubuntu-latest
39+ steps :
40+ - uses : actions/checkout@v2
41+ 42+ with :
43+ node-version : ' *'
44+ - name : NPM install
45+ run : npm ci
46+ - name : Lint ✨
47+ run : npm run lint
48+
49+ Release :
50+ needs : [Test, Lint]
51+ if : |
52+ github.ref == 'refs/heads/master' &&
53+ github.event.repository.fork == false
54+ runs-on : ubuntu-latest
55+ steps :
56+ - uses : actions/checkout@v2
57+ - uses : UziTech/action-setup-atom@v1
58+ 59+ with :
60+ node-version : ' *'
61+ - name : NPM install
62+ run : npm ci
63+ - name : Release 🎉
64+ env :
65+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
66+ ATOM_ACCESS_TOKEN : ${{ secrets.ATOM_ACCESS_TOKEN }}
67+ run : npx semantic-release
68+
69+ Skip :
70+ if : contains(github.event.head_commit.message, '[skip ci]')
71+ runs-on : ubuntu-latest
72+ steps :
73+ - name : Skip CI 🚫
74+ run : echo skip ci
You can’t perform that action at this time.
0 commit comments