File tree Expand file tree Collapse file tree 7 files changed +713
-3
lines changed Expand file tree Collapse file tree 7 files changed +713
-3
lines changed Original file line number Diff line number Diff line change 1
- name : ' build -test'
1
+ name : ' built -test-deploy '
2
2
on :
3
3
pull_request :
4
+ paths-ignore :
5
+ - ' dist/**'
4
6
push :
5
7
branches :
6
8
- main
7
9
- ' releases/*'
10
+ paths-ignore :
11
+ - ' dist/**'
8
12
9
13
jobs :
10
14
build :
87
91
ACTION_CREATE_ENV_TEST : 1
88
92
- run : cat .env
89
93
- run : grep -zP "^PROD=0\nTEST=1$" .env
94
+ deploy :
95
+ runs-on : ubuntu-latest
96
+ needs :
97
+ - test-using-default-dir
98
+ - test-using-provided-dir
99
+ - test-override-existing
100
+ - test-including-env-vars
101
+ steps :
102
+ - uses : actions/checkout@v2
103
+ - uses : actions/download-artifact@v2
104
+ with :
105
+ name : dist
106
+ path : dist
107
+ - uses : EndBug/add-and-commit@v7
108
+ with :
109
+ # The arguments for the `git add` command (see the paragraph below for more info)
110
+ # Default: '.'
111
+ add : ' dist'
112
+
113
+ # Determines the way the action fills missing author name and email. Three options are available:
114
+ # - github_actor -> UserName <[email protected] >
115
+ # - user_info -> Your Display Name <[email protected] >
116
+ # - github_actions -> github-actions <email associated with the github logo>
117
+ # Default:
118
+ default_author : github_actor
119
+
120
+ # The message for the commit
121
+ # Default: 'Commit from GitHub Actions (name of the workflow)'
122
+ message : ' Auto-deploy commit (WF: build-test-deploy)'
123
+
124
+ # The flag used on the pull strategy. Use NO-PULL to avoid the action pulling at all.
125
+ # Default: '--no-rebase'
126
+ pull_strategy : ' NO-PULL'
Original file line number Diff line number Diff line change @@ -97,4 +97,3 @@ Thumbs.db
97
97
# Ignore built ts files
98
98
__tests__ /runner /*
99
99
lib /** /*
100
- dist /
Original file line number Diff line number Diff line change 5
5
"semi" : false ,
6
6
"singleQuote" : true ,
7
7
"trailingComma" : " none" ,
8
- "bracketSpacing" : false ,
8
+ "bracketSpacing" : true ,
9
9
"arrowParens" : " avoid"
10
10
}
You can’t perform that action at this time.
0 commit comments