We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b4d5d0 commit 0c6e1d2Copy full SHA for 0c6e1d2
.github/workflows/release.yml
@@ -1,9 +1,13 @@
1
name: Release
2
3
on:
4
- push:
+ workflow_run:
5
+ workflows:
6
+ - "Code checks and tests"
7
branches:
8
- master
9
+ types:
10
+ - completed
11
12
jobs:
13
release:
@@ -15,6 +19,8 @@ jobs:
15
19
with:
16
20
node-version: 12.x
17
21
- run: npm install
22
+ - name: Run build
23
+ run: npm run build
18
24
- uses: cycjimmy/semantic-release-action@master
25
id: semantic
26
package.json
@@ -14,8 +14,7 @@
14
"build": "npm run clean && npm run build:compile && npm run build:copy",
"build:compile": "tsc -p tsconfig.build.json",
"build:copy": "cp LICENSE README.md package.json dist/",
- "clean": "rimraf ./dist",
- "prepare": "npm test && npm run lint && npm run build"
+ "clean": "rimraf ./dist"
},
"repository": {
"type": "git",
0 commit comments