File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 1
- name : Lint
1
+ name : CI
2
2
on :
3
3
pull_request :
4
4
branches :
@@ -76,12 +76,14 @@ jobs:
76
76
runs-on : ubuntu-latest
77
77
needs : cache
78
78
steps :
79
- - uses : actions/checkout@v3
79
+ - uses : actions/checkout@v2
80
+ with :
81
+ repository : ${{ github.repository }}
82
+ token : ${{ secrets.GH_COMMIT_TOKEN }}
83
+ fetch-depth : 0
80
84
- uses : actions/setup-node@v3
81
85
with :
82
86
node-version : ' 16.x'
83
- - name : remove git auth
84
- run : git config --unset http.https://github.com/.extraheader
85
87
- name : Configure Yarn cache
86
88
uses : actions/cache@v3
87
89
with :
@@ -101,11 +103,17 @@ jobs:
101
103
run : yarn test:e2e:ci
102
104
- name : Test component-testing
103
105
run : yarn test:ct:ci
106
+ - run : |
107
+ git config user.name FRSgit
108
+ git config user.email [email protected]
109
+ git add ./\*.png
110
+ git commit -m "chore: update CI screenshots"
111
+ git push
104
112
105
113
build-and-release :
106
114
name : build and release
107
115
runs-on : ubuntu-latest
108
- needs : [cache, lint]
116
+ needs : [cache, lint, test ]
109
117
if : ${{ github.actor != 'dependabot[bot]' }}
110
118
steps :
111
119
- uses : actions/checkout@v3
Original file line number Diff line number Diff line change 6
6
"serve" : " vue-cli-service serve" ,
7
7
"build" : " vue-cli-service build" ,
8
8
"test:open" : " vue-cli-service test:e2e --env \" pluginVisualRegressionImagesDir=__image_snapshots_local__\" " ,
9
- "test:run" : " vue-cli-service test:e2e" ,
9
+ "test:run" : " vue-cli-service test:e2e --env \" pluginVisualRegressionUpdateImages=true \" " ,
10
10
"test:ct" : " yarn test:open --component" ,
11
11
"test:ct:ci" : " yarn test:run --component --headless" ,
12
12
"test:e2e" : " yarn test:open --e2e" ,
You can’t perform that action at this time.
0 commit comments