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 2c8bb78 commit 9650605Copy full SHA for 9650605
.github/main.workflow
@@ -0,0 +1,29 @@
1
+workflow "Build, Test, and Publish" {
2
+ on = "push"
3
+ resolves = ["Publish"]
4
+}
5
+
6
+action "Build" {
7
+ uses = "actions/npm@master"
8
+ args = "install"
9
10
11
+action "Test" {
12
+ needs = "Build"
13
14
+ args = "test"
15
16
17
+# Filter for a new tag
18
+action "Tag" {
19
+ needs = "Test"
20
+ uses = "actions/bin/filter@master"
21
+ args = "tag"
22
23
24
+action "Publish" {
25
+ needs = "Tag"
26
27
+ args = "publish --access public"
28
+ secrets = ["NPM_AUTH_TOKEN"]
29
0 commit comments