🚀 feat: Enhance PWA and asset caching strategy (#3822)

* chore: Update VitePWA registerType to 'autoUpdate', add cache busting to static file outputs

* chore: disable windows frontend workflow for now
This commit is contained in:
Danny Avila 2024-08-28 12:13:14 -04:00 committed by GitHub
parent 7c1ee242eb
commit 3b61322459
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 23 additions and 19 deletions

View file

@ -33,24 +33,25 @@ jobs:
run: npm run test:ci --verbose
working-directory: client
tests_frontend_windows:
name: Run frontend unit tests on Windows
timeout-minutes: 60
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
# Windows job is commented out
# tests_frontend_windows:
# name: Run frontend unit tests on Windows
# timeout-minutes: 60
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v4
# - name: Use Node.js 20.x
# uses: actions/setup-node@v4
# with:
# node-version: 20
# cache: 'npm'
- name: Install dependencies
run: npm ci
# - name: Install dependencies
# run: npm ci
- name: Build Client
run: npm run frontend:ci
# - name: Build Client
# run: npm run frontend:ci
- name: Run unit tests
run: npm run test:ci --verbose
working-directory: client
# - name: Run unit tests
# run: npm run test:ci --verbose
# working-directory: client