diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2b7c91..ecd416b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: run: pnpm install - name: Lint - run: pnpm run lint + run: pnpm lint type-check: runs-on: ubuntu-latest @@ -40,14 +40,14 @@ jobs: run: pnpm install - name: Typecheck - run: pnpm run type-check + run: pnpm type-check test: runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [18.x, 20.x] + node-version: [lts/*] os: [ubuntu-latest] fail-fast: false @@ -62,7 +62,7 @@ jobs: cache: pnpm - run: pnpm install - - run: pnpm run test:unit + - run: pnpm test:unit test-e2e: runs-on: ubuntu-latest @@ -92,5 +92,5 @@ jobs: uses: cypress-io/github-action@v4 with: install-command: echo - build: pnpm run build + build: pnpm build start: npx vite preview diff --git a/netlify.toml b/netlify.toml index 3f97b68..44150bd 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,7 +3,7 @@ NODE_VERSION = "18" [build] publish = "dist" -command = "pnpm run build" +command = "pnpm build" [[redirects]] from = "/*" diff --git a/tsconfig.json b/tsconfig.json index 19b8032..ff51a98 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "@vue/tsconfig/tsconfig.dom.json", "compilerOptions": { + "composite": true, "baseUrl": ".", "paths": { "@/*": [