Skip to content

Commit feeb404

Browse files
authoredJan 16, 2024
Fix CI (#179)
* Update nodejs version in CI actions * Fix formatting
1 parent 527f3d1 commit feeb404

File tree

6 files changed

+10
-9
lines changed

6 files changed

+10
-9
lines changed
 

‎.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
- uses: actions/setup-node@v1
1515
with:
16-
node-version: "14.x"
16+
node-version: "20.x"
1717
- name: Format
1818
run: |
1919
npm ci

‎.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
- uses: actions/setup-node@v1
1010
with:
11-
node-version: "14.x"
11+
node-version: "20.x"
1212

1313
- name: Run tests
1414
run: |

‎.tool-versions

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodejs 20.0.0

‎demo/vite-ts-demo/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ If you have state that's important to retain within a component, consider creati
4242
```ts
4343
// store.ts
4444
// An extremely simple external store
45-
import { writable } from 'svelte/store'
46-
export default writable(0)
45+
import { writable } from "svelte/store";
46+
export default writable(0);
4747
```

‎demo/vite-ts-demo/svelte.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'
1+
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
22

33
export default {
44
// Consult https://svelte.dev/docs#compile-time-svelte-preprocess
55
// for more information about preprocessors
66
preprocess: vitePreprocess(),
7-
}
7+
};

‎demo/vite-ts-demo/vite.config.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { defineConfig } from 'vite'
2-
import { svelte } from '@sveltejs/vite-plugin-svelte'
1+
import { defineConfig } from "vite";
2+
import { svelte } from "@sveltejs/vite-plugin-svelte";
33

44
// https://vitejs.dev/config/
55
export default defineConfig({
66
plugins: [svelte()],
7-
})
7+
});

0 commit comments

Comments
 (0)
Please sign in to comment.