Skip to content

Commit 715ece4

Browse files
committed
chore: update CI screenshots
Signed-off-by: Jakub Freisler <[email protected]>
1 parent 2a1fa4f commit 715ece4

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Lint
1+
name: CI
22
on:
33
pull_request:
44
branches:
@@ -76,12 +76,14 @@ jobs:
7676
runs-on: ubuntu-latest
7777
needs: cache
7878
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
8084
- uses: actions/setup-node@v3
8185
with:
8286
node-version: '16.x'
83-
- name: remove git auth
84-
run: git config --unset http.https://github.com/.extraheader
8587
- name: Configure Yarn cache
8688
uses: actions/cache@v3
8789
with:
@@ -101,11 +103,17 @@ jobs:
101103
run: yarn test:e2e:ci
102104
- name: Test component-testing
103105
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
104112
105113
build-and-release:
106114
name: build and release
107115
runs-on: ubuntu-latest
108-
needs: [cache, lint]
116+
needs: [cache, lint, test]
109117
if: ${{ github.actor != 'dependabot[bot]' }}
110118
steps:
111119
- uses: actions/checkout@v3

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"serve": "vue-cli-service serve",
77
"build": "vue-cli-service build",
88
"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\"",
1010
"test:ct": "yarn test:open --component",
1111
"test:ct:ci": "yarn test:run --component --headless",
1212
"test:e2e": "yarn test:open --e2e",

0 commit comments

Comments
 (0)