We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e8cd6d commit fb42d19Copy full SHA for fb42d19
.github/release.workflow
@@ -0,0 +1,36 @@
1
+workflow "Build, Test, and Publish" {
2
+ on = "push"
3
+ resolves = ["Publish"]
4
+}
5
+
6
+action "Install" {
7
+ uses = "actions/npm@master"
8
+ args = "install"
9
10
11
+action "Test" {
12
13
+ args = "test"
14
+ needs = ["Install"]
15
16
17
+action "Build" {
18
19
+ args = "build"
20
+ needs = ["Install", "Test"]
21
22
23
+# Filter for a new tag
24
+action "Versioning" {
25
+ needs = "Build"
26
+ uses = "actions/npm@e7aaefe"
27
+ args = "release"
28
+ secrets = ["GITHUB_TOKEN"]
29
30
31
+action "Publish" {
32
33
+ args = "publish --access public"
34
+ secrets = ["NPM_AUTH_TOKEN"]
35
+ needs = ["Build", "Versioning"]
36
0 commit comments