diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94f233d..63bb01a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,33 +64,33 @@ jobs: - run: pnpm install - run: pnpm run test:unit - test-e2e: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/cache@v3 - with: - path: | - ~/.cache - key: cypress-cache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} + # test-e2e: + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v3 + # - uses: actions/cache@v3 + # with: + # path: | + # ~/.cache + # key: cypress-cache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} - - uses: pnpm/action-setup@v2 + # - uses: pnpm/action-setup@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - registry-url: https://registry.npmjs.org/ - cache: pnpm + # - name: Use Node.js ${{ matrix.node-version }} + # uses: actions/setup-node@v3 + # with: + # node-version: ${{ matrix.node-version }} + # registry-url: https://registry.npmjs.org/ + # cache: pnpm - - run: pnpm install + # - run: pnpm install - - name: Cypress PNPM Patch - run: cp pnpm-lock.yaml package-lock.json + # - name: Cypress PNPM Patch + # run: cp pnpm-lock.yaml package-lock.json - - name: Cypress - uses: cypress-io/github-action@v4 - with: - install-command: echo - build: pnpm run build - start: npx vite --port 3333 + # - name: Cypress + # uses: cypress-io/github-action@v4 + # with: + # install-command: echo + # build: pnpm run build + # start: npx vite --port 3333 diff --git a/.vscode/settings.json b/.vscode/settings.json index e948343..d643ac4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,7 +4,7 @@ "i18n-ally.keystyle": "nested", "i18n-ally.localesPaths": "locales", "i18n-ally.sortKeys": true, - "prettier.enable": false, + // "prettier.enable": false, "editor.codeActionsOnSave": { "source.fixAll.eslint": true }, diff --git a/cypress/e2e/basic.spec.ts b/cypress/e2e/basic.spec.ts deleted file mode 100644 index 55a838f..0000000 --- a/cypress/e2e/basic.spec.ts +++ /dev/null @@ -1,36 +0,0 @@ -context('Basic', () => { - beforeEach(() => { - cy.visit('/') - }) - - it('basic nav', () => { - cy.url() - .should('eq', 'http://localhost:3333/') - - cy.contains('[Home Layout]') - .should('exist') - - cy.get('#input') - .type('Vitesse{Enter}') - .url() - .should('eq', 'http://localhost:3333/hi/Vitesse') - - cy.contains('[Default Layout]') - .should('exist') - - cy.get('[btn]') - .click() - .url() - .should('eq', 'http://localhost:3333/') - }) - - it('markdown', () => { - cy.get('[title="About"]') - .click() - .url() - .should('eq', 'http://localhost:3333/about') - - cy.get('.shiki') - .should('exist') - }) -}) diff --git a/cypress/tsconfig.json b/cypress/tsconfig.json deleted file mode 100644 index f7e11fe..0000000 --- a/cypress/tsconfig.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "../tsconfig.json", - "compilerOptions": { - "types": [ - "cypress" - ] - }, - "exclude": [], - "include": [ - "**/*.ts" - ] -}