daydream

A small matrix web client written in rust
git clone git://archive.git.mtrnord.blog/daydream-mx/daydream.git
Log | Files | Refs | README | LICENSE

commit 665a9254bbbd8b8ec4a65ee3a19ee405ae2a3f96
parent e2e5931c25bbca7161f04463ac49968c48e28be3
Author: Marcel <mtrnord1@gmail.com>
Date:   Sun, 14 Jun 2020 13:12:51 +0200

If needed create folders to not crash the CI

Took 4 minutes

Diffstat:
M.github/workflows/tests.yml | 7+++++--
Mstatic/index.html | 4++--
2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml @@ -13,19 +13,22 @@ jobs: with: browser: chrome command: npm run test + - run: | + mkdir -p cypress/screenshots + mkdir -p cypress/videos # after the test run completes # store videos and any screenshots # NOTE: screenshots will be generated only if E2E test failed # thus we store screenshots only on failures # Alternative: create and commit an empty cypress/screenshots folder # to always have something to upload - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v2 if: failure() with: name: cypress-screenshots path: cypress/screenshots # Test run video was always captured, so this action uses "always()" condition - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v2 if: always() with: name: cypress-videos diff --git a/static/index.html b/static/index.html @@ -7,7 +7,7 @@ <title>Daydream</title> </head> <body> - <script src="js/uikit.min.js"></script> - <script src="js/uikit-icons.min.js"></script> + <script async defer src="js/uikit.min.js"></script> + <script async defer src="js/uikit-icons.min.js"></script> </body> </html>