File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1
- name : GitHub Actions Demo
1
+ name : Semantic Release
2
2
on :
3
3
push :
4
4
branches :
@@ -11,11 +11,18 @@ jobs:
11
11
name : Semantic Release Process
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - name : Setup node
14
+ - name : Checkout
15
+ uses : actions/checkout@v2
16
+ with :
17
+ fetch-depth : 0
18
+ - name : Setup Node
15
19
uses : actions/setup-node@v2
16
20
with :
17
21
node-version : 14
18
- - run : echo "RUNNING SEMANTIC RELEASE"
22
+ - name : Install Semantic Release Packages
23
+ run : npm i -g semantic-release @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/changelog @semantic-release/npm @semantic-release/git @semantic-release/github
24
+ - name : Exec Semantic Release
25
+ run : npx semantic-release
19
26
env :
20
27
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
21
28
GH_TOKEN : ${{ secrets.GH_TOKEN }}
Original file line number Diff line number Diff line change 1
- name : GitHub Actions Demo
1
+ name : Test and Lint
2
2
on :
3
3
push :
4
4
branches :
20
20
uses : actions/checkout@v2
21
21
with :
22
22
fetch-depth : 0
23
- - name : Setup node
23
+ - name : Setup Node v${{ matrix. node }}
24
24
uses : actions/setup-node@v2
25
25
with :
26
26
node-version : ${{ matrix.node }}
You can’t perform that action at this time.
0 commit comments