Try to fix npm error

This commit is contained in:
Jaifroid 2025-06-17 20:50:23 +01:00
parent fe7539c335
commit 80e4157c92

View File

@ -48,12 +48,12 @@ jobs:
- name: Build app with src bundle - name: Build app with src bundle
if: github.event.inputs.target == 'ghpages' || github.event_name == 'push' if: github.event.inputs.target == 'ghpages' || github.event_name == 'push'
run: | run: |
npm ci npm install
npm run build-src npm run build-src
- name: Build app with production bundle (src bundle also provided) - name: Build app with production bundle (src bundle also provided)
if: github.event.inputs.target == 'docker' || github.event_name == 'release' if: github.event.inputs.target == 'docker' || github.event_name == 'release'
run: | run: |
npm ci npm install
npm run build npm run build
echo "After deployment the production app will be available at https://pwa.kiwix.org" echo "After deployment the production app will be available at https://pwa.kiwix.org"
- name: Build docker image and push - name: Build docker image and push