🐛(front) enhance mimeTypes utility

We cannot put periods in filenames, even if it's an unknown extension.
This commit is contained in:
Nathan Panchout
2025-11-19 11:11:29 +01:00
parent 1396c23ee9
commit c125d20d31
10 changed files with 1968 additions and 36 deletions
+24
View File
@@ -35,6 +35,30 @@ jobs:
- name: Check linting
run: cd src/frontend/ && yarn lint
test-unit:
runs-on: ubuntu-latest
needs: install-front
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22.x"
- name: Restore the frontend cache
uses: actions/cache@v4
with:
path: "src/frontend/**/node_modules"
key: front-node_modules-${{ hashFiles('src/frontend/**/yarn.lock') }}
fail-on-cache-miss: true
- name: Run unit tests
run: |
cd src/frontend/apps/drive
yarn test
test-e2e:
runs-on: ubuntu-latest
needs: install-front