File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 77jobs :
88 build_site :
99 runs-on : ubuntu-latest
10+ permissions :
11+ contents : read
1012 steps :
1113 - name : Checkout
12- uses : actions/checkout@v3
14+ uses : actions/checkout@v4
1315
1416 # If you're using pnpm, add this step then change the commands and cache key below to use `pnpm`
1517 # - name: Install pnpm
@@ -18,13 +20,13 @@ jobs:
1820 # version: 8
1921
2022 - name : Install Node.js
21- uses : actions/setup-node@v3
23+ uses : actions/setup-node@v4
2224 with :
23- node-version : 18
25+ node-version : 20
2426 cache : npm
2527
2628 - name : Install dependencies
27- run : npm install
29+ run : npm ci
2830
2931 - name : build
3032 env :
5456 steps :
5557 - name : Deploy
5658 id : deployment
57- uses : actions/deploy-pages@v1
59+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change @@ -8,12 +8,10 @@ const config = {
88 // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
99 // If your environment is not supported or you settled on a specific environment, switch out the adapter.
1010 // See https://kit.svelte.dev/docs/adapters for more information about adapters.
11- adapter : adapter ( )
12-
13- // paths: {
14- // base: process.env.NODE_ENV === 'production' ? '/socketopp.github.io' : '',
15- // base: dev ? '' : process.env.BASE_PATH
16- // }
11+ adapter : adapter ( ) ,
12+ paths : {
13+ base : dev ? '' : process . env . BASE_PATH
14+ }
1715 } ,
1816 preprocess : vitePreprocess ( )
1917} ;
You can’t perform that action at this time.
0 commit comments