Skip to content

Commit aa51616

Browse files
committed
fix build error
1 parent a00422f commit aa51616

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/deploy.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,19 @@ jobs:
2626
- name: Set up Node
2727
uses: actions/setup-node@v3
2828
with:
29-
node-version: 18
29+
node-version: 20
3030
cache: 'npm'
3131
- name: Install dependencies
32-
run: npm install
32+
run: npm ci
3333
- name: Build
3434
run: npm run build
3535
- name: Setup Pages
36-
uses: actions/configure-pages@v3
36+
uses: actions/configure-pages@v4
3737
- name: Upload artifact
38-
uses: actions/upload-pages-artifact@v1
38+
uses: actions/upload-pages-artifact@v3
3939
with:
40-
path: 'dist'
40+
# Upload dist folder
41+
path: './dist'
4142
- name: Deploy to GitHub Pages
4243
id: deployment
43-
uses: actions/deploy-pages@v1
44+
uses: actions/deploy-pages@v4

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
"noFallthroughCasesInSwitch": true,
2121
"noUncheckedSideEffectImports": true
2222
},
23-
"include": ["src, ./"]
23+
"include": ["src"]
2424
}
2525

0 commit comments

Comments
 (0)