chore: upload test video as test artifact
This commit is contained in:
1
.github/workflows/build-dockerfile.yml
vendored
1
.github/workflows/build-dockerfile.yml
vendored
@@ -4,7 +4,6 @@ on:
|
||||
- master
|
||||
- release
|
||||
- beta
|
||||
- tnordquist/test-ci
|
||||
paths:
|
||||
- Dockerfile
|
||||
- .github
|
||||
|
||||
20
.github/workflows/ui-test.yml
vendored
20
.github/workflows/ui-test.yml
vendored
@@ -14,7 +14,21 @@ jobs:
|
||||
run: yarn install --frozen-lockfile
|
||||
- name: Build
|
||||
run: yarn build
|
||||
- name: Install Packages
|
||||
- name: Test
|
||||
run: yarn ui-test
|
||||
- uses: actions/upload-artifact@v4
|
||||
with: ui-test.*
|
||||
- name: Post-processing
|
||||
run: ./scripts/prepareVideo.sh
|
||||
- uses: hkusu/s3-upload-action@v2
|
||||
id: upload # specify some ID for use in subsequent steps
|
||||
with:
|
||||
aws-access-key-id: ${{ vars.AWS_KEY_ID }}
|
||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
aws-region: 'eu-central-1'
|
||||
aws-bucket: ${{ vars.AWS_BUCKET }}
|
||||
file-path: './ui-test.gif'
|
||||
content-type: image/gif
|
||||
output-file-url: 'true'
|
||||
- name: Show URL
|
||||
run: echo '${{ steps.upload.outputs.file-url }}'
|
||||
id: artifact-upload-step
|
||||
- run: echo '' >> $GITHUB_STEP_SUMMARY
|
||||
|
||||
Reference in New Issue
Block a user