Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 18 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- run: npm run lint
- run: npm run fmt:check

cypress:
playwright:
runs-on: ubuntu-latest

steps:
Expand All @@ -32,10 +32,21 @@ jobs:
uses: jdx/mise-action@b44d12e7d0d8ee7461bb893e1b1993500433185b # jdx/mise-action v5.2.7
- run: npm install

# https://docs.cypress.io/guides/continuous-integration/github-actions
- name: Cypress run
# https://github.com/marketplace/actions/cypress-io
uses: cypress-io/github-action@18016a55674bd02cabf197de5762a1710cb5577c # cypress-io/github-action v7.4.9
# https://playwright.dev/docs/ci#github-actions
- name: Install Playwright browsers
run: npx playwright install --with-deps chromium

# The dev server is started by playwright.config.ts webServer
- name: Playwright run
run: npm run test:e2e

- name: Upload Playwright artifacts
if: failure()
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # actions/upload-artifact v7.0.2
with:
start: npm run dev -- --host
wait-on: "http://localhost:3000"
name: playwright-artifacts
path: |
test-results/
playwright-report/
retention-days: 7
if-no-files-found: ignore
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,9 @@ mise.local.toml
build
*.tsbuildinfo
vite.config.d.ts
vite.config.js
vite.config.js

# Playwright
test-results
playwright-report
blob-report
2 changes: 1 addition & 1 deletion .oxlintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["typescript", "react"],
"ignorePatterns": ["dist", "node_modules", "cypress"],
"ignorePatterns": ["dist", "node_modules", "tests"],
"env": {
"browser": true
},
Expand Down
9 changes: 0 additions & 9 deletions cypress.config.ts

This file was deleted.

2 changes: 0 additions & 2 deletions cypress/.gitignore

This file was deleted.

21 changes: 0 additions & 21 deletions cypress/e2e/1-generate/generate.cy.ts

This file was deleted.

16 changes: 0 additions & 16 deletions cypress/e2e/2-actions/bookmark.cy.ts

This file was deleted.

19 changes: 0 additions & 19 deletions cypress/e2e/2-actions/copy.cy.ts

This file was deleted.

37 changes: 0 additions & 37 deletions cypress/support/commands.ts

This file was deleted.

16 changes: 0 additions & 16 deletions cypress/support/e2e.ts

This file was deleted.

Loading
Loading