From 4b48d10260d3bacc5de1d2da72ec7912935dd718 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marii=C2=A8?= Date: Tue, 5 Mar 2024 15:29:21 -0500 Subject: [PATCH 1/3] bump node version --- .github/workflows/gh-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gh-deploy.yml b/.github/workflows/gh-deploy.yml index 5123621..4f1294f 100644 --- a/.github/workflows/gh-deploy.yml +++ b/.github/workflows/gh-deploy.yml @@ -16,7 +16,7 @@ jobs: - name: setup node uses: actions/setup-node@v2 with: - node-version: '16.10.0' + node-version: '21.6.2' - name: install run: npm install - name: build From df3a4a111bee7e532182566379109b71307fd637 Mon Sep 17 00:00:00 2001 From: mnyrop Date: Tue, 5 Mar 2024 15:44:33 -0500 Subject: [PATCH 2/3] node action v4, defer to .nvmrc --- .github/workflows/gh-deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh-deploy.yml b/.github/workflows/gh-deploy.yml index 4f1294f..3fa2366 100644 --- a/.github/workflows/gh-deploy.yml +++ b/.github/workflows/gh-deploy.yml @@ -14,9 +14,9 @@ jobs: - name: checkout uses: actions/checkout@v2 - name: setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: '21.6.2' + node-version-file: '.nvmrc' - name: install run: npm install - name: build From 4a3519c78ec0848d1c4d0bc8006dd4d6e5d277f3 Mon Sep 17 00:00:00 2001 From: mnyrop Date: Tue, 5 Mar 2024 15:44:50 -0500 Subject: [PATCH 3/3] prerender with fallback --- src/routes/+layout.js | 1 + src/routes/+page.svelte | 2 -- svelte.config.js | 6 +++++- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 src/routes/+layout.js diff --git a/src/routes/+layout.js b/src/routes/+layout.js new file mode 100644 index 0000000..c8cacf0 --- /dev/null +++ b/src/routes/+layout.js @@ -0,0 +1 @@ +export const prerender = true; \ No newline at end of file diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 9fb409c..60f2799 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,6 +1,4 @@