diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 254ef1e7..45f69ea9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,9 +34,9 @@ jobs: with: python-version: '3.10' - name: setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' check-latest: true - name: setup cache for bench uses: actions/cache@v4 diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.yml index 6ff03b93..84651bf1 100644 --- a/.github/workflows/ui-tests.yml +++ b/.github/workflows/ui-tests.yml @@ -48,9 +48,9 @@ jobs: exit 1 fi - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 check-latest: true - name: Add to Hosts diff --git a/frontend/vite.config.js b/frontend/vite.config.js index ce4a0d9e..980a6171 100644 --- a/frontend/vite.config.js +++ b/frontend/vite.config.js @@ -32,6 +32,8 @@ export default defineConfig({ workbox: { cleanupOutdatedCaches: true, maximumFileSizeToCacheInBytes: 5 * 1024 * 1024, + globDirectory: '/assets/lms/frontend', + globPatterns: ['**/*.{js,css,html,png,svg,woff2}'], }, manifest: false, }),