fixed some issues with capturing build artifacts
Some checks failed
build-sveltekit / build (push) Failing after 22s

This commit is contained in:
Jonas_Jones 2025-06-10 19:31:48 +02:00
parent 9e3c4aa631
commit 6806a63b87

View file

@ -19,21 +19,19 @@ jobs:
path: | path: |
~/.npm ~/.npm
node_modules node_modules
key: ${{ runner.os }}-SvelteKit key: ${{ runner.os }}-SvelteKit-${{ hashFiles('package-lock.json') }}
- name: install dependencies - name: install dependencies
run: npm install --frozen-lockfile run: npm install --frozen-lockfile
- name: build project - name: build project
run: npm run build || true run: npm run build
- name: capture build artifacts - name: capture build artifacts
uses: https://code.forgejo.org/forgejo/upload-artifact@v4 uses: https://code.forgejo.org/forgejo/upload-artifact@v4
with: with:
name: sveltekit-artifacts.zip name: sveltekit-artifacts
path: | path: build/
build/
.svelte-kit/
if-no-files-found: error if-no-files-found: error
- name: cache downloaded dependencies - name: cache downloaded dependencies
@ -43,4 +41,4 @@ jobs:
path: | path: |
~/.npm ~/.npm
node_modules node_modules
key: ${{ runner.os }}-SvelteKit key: ${{ runner.os }}-SvelteKit-${{ hashFiles('package-lock.json') }}