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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
42 changes: 42 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Check and deploy playground
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7.0.1
- uses: pnpm/action-setup@v6.1.0
- uses: actions/setup-node@v7.1.0
with:
node-version-file: .nvmrc
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm exec playwright install --with-deps chromium
- run: pnpm check
- uses: actions/upload-pages-artifact@v5.0.0
with:
path: dist
retention-days: 7
deploy:
if: github.event_name != 'pull_request' && (github.ref == format('refs/heads/{0}', github.event.repository.default_branch) || github.event_name == 'workflow_dispatch')
needs: check
runs-on: ubuntu-latest
concurrency:
group: github-pages
cancel-in-progress: false
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/configure-pages@v6.0.0
- name: Deploy playground
id: deployment
uses: actions/deploy-pages@v5.0.1
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules/
dist/
playwright-report/
test-results/
*.tsbuildinfo
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24.21.0
9 changes: 9 additions & 0 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"ignorePatterns": [
"**/dist/**",
"**/node_modules/**",
"pnpm-lock.yaml",
"test-results/**",
"playwright-report/**"
]
}
11 changes: 11 additions & 0 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"plugins": ["typescript", "react", "jsx-a11y"],
"categories": {
"correctness": "error"
},
"rules": {
"react/rules-of-hooks": "error",
"react/exhaustive-deps": "error"
},
"ignorePatterns": ["**/dist/**", "**/node_modules/**", "test-results/**", "playwright-report/**"]
}
14 changes: 0 additions & 14 deletions 3D-image-hover/.eslintrc.cjs

This file was deleted.

2 changes: 0 additions & 2 deletions 3D-image-hover/README.md

This file was deleted.

Loading
Loading