diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4790cef..1ba2529 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,6 +32,9 @@ jobs: node-version: '16' cache: 'pnpm' + - name: Enter Electron + run: cd electron + - name: Install dependencies run: pnpm install --frozen-lockfile diff --git a/jsconfig.json b/jsconfig.json index f16ef36..fc9339d 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -4,7 +4,10 @@ "target": "ESNext", "moduleResolution": "node", "module": "ESNext", - "allowSyntheticDefaultImports": true + "allowSyntheticDefaultImports": true, + "paths": { + "@/*": ["./common/*"], + } }, "exclude": ["node_modules/**", "**/node_modules", "dist", "build"] } \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index f16ef36..fc9339d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,10 @@ "target": "ESNext", "moduleResolution": "node", "module": "ESNext", - "allowSyntheticDefaultImports": true + "allowSyntheticDefaultImports": true, + "paths": { + "@/*": ["./common/*"], + } }, "exclude": ["node_modules/**", "**/node_modules", "dist", "build"] } \ No newline at end of file