Skip to content

Commit

Permalink
chore: upload test video as test artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Nordquist committed May 11, 2024
1 parent a7ce6b4 commit e690a1e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-dockerfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
- master
- release
- beta
- tnordquist/test-ci
paths:
- Dockerfile
- .github
Expand Down
18 changes: 15 additions & 3 deletions .github/workflows/ui-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,19 @@ 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.*
- uses: hkusu/s3-upload-action@v2
id: upload # specify some ID for use in subsequent steps
with:
aws-access-key-id: ${{ env.AWS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: 'eu-central-1'
aws-bucket: ${{ env.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 '![test](${{ steps.upload.outputs.file-url }})' >> $GITHUB_STEP_SUMMARY

0 comments on commit e690a1e

Please sign in to comment.