File tree Expand file tree Collapse file tree 4 files changed +20
-21
lines changed Expand file tree Collapse file tree 4 files changed +20
-21
lines changed Original file line number Diff line number Diff line change 1
- name : Dev Test & Build
1
+ name : Build - Dev
2
2
3
3
on :
4
4
push :
5
5
branches : [develop]
6
6
paths-ignore :
7
- - " **/*.md"
7
+ - ' **/*.md'
8
8
9
9
jobs :
10
10
build :
@@ -15,16 +15,16 @@ jobs:
15
15
16
16
steps :
17
17
- name : Checkout
18
- uses : actions/checkout@v2
18
+ uses : actions/checkout@v3
19
19
20
20
- name : Use Node.js ${{ matrix.node-version }}
21
- uses : actions/setup-node@v2
21
+ uses : actions/setup-node@v3
22
22
with :
23
23
node-version : ${{ matrix.node-version }}
24
24
25
- - name : Install Packages
25
+ - name : Install
26
26
if : ${{ always() }}
27
- run : npm i
27
+ run : npm install
28
28
29
29
- name : Lint
30
30
if : ${{ always() }}
Original file line number Diff line number Diff line change 1
- name : Stage Build
1
+ name : Build - Stage
2
2
3
3
on :
4
4
push :
5
5
branches : [main]
6
6
paths-ignore :
7
- - " **/*.md"
7
+ - ' **/*.md'
8
8
9
9
jobs :
10
10
build :
@@ -15,16 +15,16 @@ jobs:
15
15
16
16
steps :
17
17
- name : Checkout
18
- uses : actions/checkout@v2
18
+ uses : actions/checkout@v3
19
19
20
20
- name : Use Node.js ${{ matrix.node-version }}
21
- uses : actions/setup-node@v2
21
+ uses : actions/setup-node@v3
22
22
with :
23
23
node-version : ${{ matrix.node-version }}
24
24
25
- - name : Install Packages
25
+ - name : Install
26
26
if : ${{ always() }}
27
- run : npm i
27
+ run : npm install
28
28
29
29
- name : Lint
30
30
if : ${{ always() }}
Original file line number Diff line number Diff line change @@ -25,16 +25,16 @@ jobs:
25
25
26
26
steps :
27
27
- name : Checkout
28
- uses : actions/checkout@v2
28
+ uses : actions/checkout@v3
29
29
30
30
- name : Use Node.js ${{ matrix.node-version }}
31
- uses : actions/setup-node@v2
31
+ uses : actions/setup-node@v3
32
32
with :
33
33
node-version : ${{ matrix.node-version }}
34
34
35
- - name : Install Packages
35
+ - name : Install
36
36
if : ${{ always() }}
37
- run : npm i
37
+ run : npm install
38
38
39
39
- name : Lint
40
40
if : ${{ always() }}
Original file line number Diff line number Diff line change @@ -26,16 +26,15 @@ jobs:
26
26
27
27
- name : Install dependencies
28
28
run : npm i
29
- env :
30
- NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29
+
30
+ - name : Build
31
+ run : npm run build
31
32
32
33
- name : Publish package
33
34
run : npm publish
34
- env :
35
- NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
36
35
37
36
- name : Slack Notification
38
37
uses : rtCamp/action-slack-notify@v2
39
38
env :
40
- SLACK_CHANNEL : dev-travis
39
+ SLACK_CHANNEL : github-builds
41
40
SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK }}
You can’t perform that action at this time.
0 commit comments