Skip to content

Commit 89ae732

Browse files
committed
Merge branch 'master' of github.com:mintuz/react-css-loader
2 parents 43ceefc + f34e6d2 commit 89ae732

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/main.workflow

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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+
env = {
10+
NODE_ENV = "production"
11+
}
12+
}
13+
14+
action "Test" {
15+
needs = "Build"
16+
uses = "actions/npm@master"
17+
args = "test"
18+
}
19+
20+
# Filter for a new tag
21+
action "Tag" {
22+
needs = "Test"
23+
uses = "actions/bin/filter@master"
24+
args = "tag"
25+
}
26+
27+
action "Publish" {
28+
needs = "Tag"
29+
uses = "actions/npm@master"
30+
args = "publish --access public"
31+
secrets = ["NPM_AUTH_TOKEN"]
32+
}

0 commit comments

Comments
 (0)