File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 10
10
11
11
jobs :
12
12
release :
13
- if : " !contains(github.event.head_commit.message, 'skip ci')"
13
+ # don't run on forks
14
+ if : github.repository_owner == 'SmartThingsCommunity'
14
15
15
16
runs-on : ubuntu-latest
16
17
17
18
steps :
18
19
- uses : actions/checkout@v2
19
20
- name : Setup Node.js
20
- uses : actions/setup-node@v1
21
+ uses : actions/setup-node@v2
21
22
with :
22
- node-version : 12.x
23
+ node-version : 16
23
24
- run : npm ci
24
25
- name : Release
25
26
env :
Original file line number Diff line number Diff line change @@ -4,21 +4,20 @@ on: [push, pull_request]
4
4
5
5
jobs :
6
6
build :
7
- if : " !contains(github.event.head_commit.message, 'skip ci')"
8
-
9
7
runs-on : ubuntu-latest
10
8
11
9
strategy :
12
10
matrix :
13
11
# add/remove versions as we move support forward
14
- node-version : [10.x, 12.x ]
12
+ node-version : [12, 14, 16 ]
15
13
16
14
steps :
17
15
- uses : actions/checkout@v2
18
16
- name : Use Node.js ${{ matrix.node-version }}
19
- uses : actions/setup-node@v1
17
+ uses : actions/setup-node@v2
20
18
with :
21
19
node-version : ${{ matrix.node-version }}
20
+ cache : ' npm'
22
21
- run : npm ci
23
22
- run : npm run build
24
23
- run : npm run lint
You can’t perform that action at this time.
0 commit comments