Skip to content

Commit b438602

Browse files
committed
Try again
1 parent e0e5731 commit b438602

File tree

4 files changed

+39
-8
lines changed

4 files changed

+39
-8
lines changed

.github/workflows/docker-image-build.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,17 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v3
16-
- name: Set up Node.js ${{ matrix.node-version }}
16+
17+
- name: Set up Node.js
1718
uses: actions/setup-node@v2
1819
with:
19-
node-version: ${{ matrix.node-version }}
20+
node-version: '14'
2021

2122
- name: Install dependencies
2223
run: npm install
2324

2425
- name: Build the project
2526
run: npm run build
26-
27-
- name: Run tests
28-
run: npm test
2927

3028
- name: Build the Docker image
3129
run:

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
2+
"name": "your-project-name",
3+
"version": "1.0.0",
24
"scripts": {
3-
"build": "tsc"
5+
"build": "tsc"
46
},
57
"dependencies": {
6-
"@types/axios": "^0.21.1",
78
"axios": "^1.7.2"
89
},
910
"devDependencies": {
1011
"@types/axios": "^0.14.0",
11-
"typescript": "^4.1.3"
12+
"typescript": "^4.5.4"
1213
}
1314
}

tsconfig.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ESNext",
4+
"useDefineForClassFields": true,
5+
"lib": ["DOM", "DOM.Iterable", "ESNext"],
6+
"allowJs": false,
7+
"skipLibCheck": true,
8+
"esModuleInterop": false,
9+
"allowSyntheticDefaultImports": true,
10+
"strict": true,
11+
"forceConsistentCasingInFileNames": true,
12+
"module": "ESNext",
13+
"moduleResolution": "Node",
14+
"resolveJsonModule": true,
15+
"isolatedModules": true,
16+
"noEmit": true,
17+
"jsx": "react-jsx",
18+
"types": ["vite/client", "jest", "mocha"],
19+
"noUnusedLocals": false
20+
},
21+
"include": ["src"],
22+
"references": [{ "path": "./tsconfig.node.json" }]
23+
}

tsconfig.node.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"compilerOptions": {
3+
"composite": true,
4+
"module": "ESNext",
5+
"moduleResolution": "Node",
6+
"allowSyntheticDefaultImports": true
7+
},
8+
"include": ["vite.config.ts"]
9+
}

0 commit comments

Comments
 (0)