diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d2d9df70..4778fbcf 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,6 +14,15 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - uses: actions/cache@v2 + id: yarn-and-build-cache + with: + path: | + node_modules + key: ${{ runner.os }}-node_modules-build-deploy-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-node_modules-build-deploy- + - name: Build & Deploy run: | npm i -g yarn diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 06ada44a..ca9daa13 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -5,8 +5,6 @@ onMount(async () => { // Handle old live editor links and redirect to new version - console.log(base); - debugger; const hash = window.location.hash.split('/'); let newURL = 'edit'; if (hash.length > 2) { diff --git a/svelte.config.js b/svelte.config.js index 2ab6ec89..a96c3498 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -22,7 +22,8 @@ const config = { : {}, ssr: false, // hydrate the