mirror of
https://github.com/JonasunderscoreJones/dash.jonasjones.dev.git
synced 2025-10-25 09:49:19 +02:00
Compare commits
No commits in common. "ee9b82d68e68c9530a756019189c010b6810a1d4" and "880a504effc537ba144bce1f9f6ed7e181e04cca" have entirely different histories.
ee9b82d68e
...
880a504eff
3 changed files with 305 additions and 461 deletions
|
|
@ -1,44 +0,0 @@
|
||||||
name: build-sveltekit
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: docker
|
|
||||||
steps:
|
|
||||||
- name: checkout repository
|
|
||||||
uses: https://code.forgejo.org/actions/checkout@v4
|
|
||||||
|
|
||||||
- name: setup node
|
|
||||||
uses: https://github.com/actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: 20
|
|
||||||
|
|
||||||
- name: restore cached dependencies
|
|
||||||
uses: https://code.forgejo.org/actions/cache/restore@v4
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/.npm
|
|
||||||
node_modules
|
|
||||||
key: ${{ runner.os }}-SvelteKit-${{ hashFiles('package-lock.json') }}
|
|
||||||
|
|
||||||
- name: install dependencies
|
|
||||||
run: npm install --frozen-lockfile
|
|
||||||
|
|
||||||
- name: build project
|
|
||||||
run: npm run build
|
|
||||||
|
|
||||||
- name: capture build artifacts
|
|
||||||
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: sveltekit-artifacts
|
|
||||||
path: .svelte-kit/output/
|
|
||||||
if-no-files-found: error
|
|
||||||
|
|
||||||
- name: cache downloaded dependencies
|
|
||||||
if: ${{ github.ref_name == github.event.repository.default_branch }}
|
|
||||||
uses: https://code.forgejo.org/actions/cache/save@v4
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/.npm
|
|
||||||
node_modules
|
|
||||||
key: ${{ runner.os }}-SvelteKit-${{ hashFiles('package-lock.json') }}
|
|
||||||
716
package-lock.json
generated
716
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -11,11 +11,11 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@fontsource/fira-mono": "^5.0.0",
|
"@fontsource/fira-mono": "^5.0.0",
|
||||||
"@neoconfetti/svelte": "^2.0.0",
|
"@neoconfetti/svelte": "^2.0.0",
|
||||||
"@sveltejs/adapter-auto": "^6.0.1",
|
"@sveltejs/adapter-auto": "^4.0.0",
|
||||||
"@sveltejs/kit": "^2.0.0",
|
"@sveltejs/kit": "^2.0.0",
|
||||||
"@sveltejs/vite-plugin-svelte": "^5.1.0",
|
"@sveltejs/vite-plugin-svelte": "^4.0.0",
|
||||||
"svelte": "^5.0.0",
|
"svelte": "^5.0.0",
|
||||||
"vite": "^6.3.5"
|
"vite": "^5.4.11"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"svelte-routing": "^2.13.0"
|
"svelte-routing": "^2.13.0"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue