File tree Expand file tree Collapse file tree 1 file changed +20
-7
lines changed Expand file tree Collapse file tree 1 file changed +20
-7
lines changed Original file line number Diff line number Diff line change 8
8
name : Prepare release
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - name : Checkout
12
- uses : actions/checkout@v2
13
- - name : Install
14
- uses : bahmutov/npm-install@v1
15
- - name : Generate TOC
11
+ - name : 🛑 Cancel Previous Runs
12
+ uses : styfle/cancel-workflow-action@0.9.1
13
+
14
+ - name : ⬇️ Checkout Repo
15
+ uses : actions/checkout@v3
16
+
17
+ - name : ⬢ Setup Node.js
18
+ uses : actions/setup-node@v3
19
+ with :
20
+ node-version : ' *'
21
+ cache : npm
22
+
23
+ - name : 📦 Install Packages
24
+ run : npm ci
25
+
26
+ - name : 📝 Generate TOC
16
27
run : npm run toc
17
- - name : Format files
28
+
29
+ - name : 💅 Format files
18
30
run : npm run format
19
- - name : Release
31
+
32
+ - name : 🚀 Release
20
33
run : npx semantic-release
21
34
env :
22
35
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments