Skip to content

Commit

Permalink
Update job name
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardocavazza committed Jan 29, 2024
1 parent 567266f commit 0da6102
Show file tree
Hide file tree
Showing 6 changed files with 1,219 additions and 1,292 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ on:
workflow_call:

jobs:
build:
name: Build
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout the repository
uses: actions/checkout@v4
Expand All @@ -20,24 +21,12 @@ jobs:
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true

- name: Run build script
run: yarn build

- name: Check package
run: yarn publint

- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: Loock
path: |
dist
types
- name: Lint
run: yarn lint

lint:
name: Lint
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout the repository
uses: actions/checkout@v4
Expand All @@ -52,8 +41,19 @@ jobs:
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true

- name: Lint
run: yarn lint
- name: Run build script
run: yarn build

- name: Check package
run: yarn publint

- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: Loock
path: |
dist
types
test:
name: Test Browsers
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ concurrency:
cancel-in-progress: true

jobs:
lint-test:
uses: ./.github/workflows/lint_test.yml
lint-build-test:
uses: ./.github/workflows/lint_build_test.yml
secrets: inherit

release:
name: Release
runs-on: ubuntu-latest
timeout-minutes: 10
needs:
- lint-test
- lint-build-test
steps:
- name: Checkout the repository
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ concurrency:
cancel-in-progress: true

jobs:
lint-test:
uses: ./.github/workflows/lint_test.yml
lint-build-test:
uses: ./.github/workflows/lint_build_test.yml
secrets: inherit
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ hero:
features:
- title: Focus, contexts, traps...
details: Loock is a set of utilities and behaviors to manage focus locally, to trap it in a specific context, to navigate using keyboard arrows and more.
icon: <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><g fill="currentColor"><circle cx="5" cy="5" r="3"/><circle cx="19" cy="19" r="3"/><path fill-rule="evenodd" d="M10.25 5a.75.75 0 0 1 .75-.75h5.132c2.751 0 3.797 3.593 1.476 5.07l-10.41 6.625c-1.056.672-.58 2.305.67 2.305h3.321l-.22-.22a.75.75 0 1 1 1.061-1.06l1.5 1.5a.75.75 0 0 1 0 1.06l-1.5 1.5a.75.75 0 1 1-1.06-1.06l.22-.22H7.867c-2.751 0-3.797-3.593-1.476-5.07l10.411-6.625c1.055-.672.58-2.305-.671-2.305H11a.75.75 0 0 1-.75-.75Z" clip-rule="evenodd"/></g></svg>
icon: <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M23 16.01a7 7 0 0 0-4.18 1.39l-4.22-4.22A6.86 6.86 0 0 0 16 9.01a7 7 0 1 0-2.81 5.59l4.21 4.22a7 7 0 1 0 5.6-2.81Zm-19-7a5 5 0 1 1 5 5a5 5 0 0 1-5-5Z"/></svg>

- title: Composition
details: Loock behaviors can be attached to UI components and work with any framework. They are designed to be easily plugged-in and plugged-out.
icon: <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-toy-brick"><rect width="18" height="12" x="3" y="8" rx="1"/><path d="M10 8V5c0-.6-.4-1-1-1H6a1 1 0 0 0-1 1v3"/><path d="M19 8V5c0-.6-.4-1-1-1h-3a1 1 0 0 0-1 1v3"/></svg>
icon: <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M32 11h-3V5c0-1.1-.9-2-2-2H13c-1.1 0-2 .9-2 2v4h2V5h14v14H13v-4h-2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6h3v-2z"/><path fill="currentColor" d="M21 17v-4c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v6H0v2h3v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4h-2v4H5V13h14v4h2z"/></svg>

- title: Consistency
details: Loock works with any modern desktop and mobile browser. E2E testing is performed against Chromium, Firefox and Webkit in order to check consistency.
icon: <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><g fill="currentColor"><path fill-rule="evenodd" d="M15.75 6a3.75 3.75 0 1 0-7.5 0a3.75 3.75 0 0 0 7.5 0ZM12 3.75a2.25 2.25 0 1 1 0 4.5a2.25 2.25 0 0 1 0-4.5ZM9.25 18a3.75 3.75 0 1 0-7.5 0a3.75 3.75 0 0 0 7.5 0ZM5.5 15.75a2.25 2.25 0 1 1 0 4.5a2.25 2.25 0 0 1 0-4.5Zm13-1.5a3.75 3.75 0 1 1 0 7.5a3.75 3.75 0 0 1 0-7.5ZM20.75 18a2.25 2.25 0 1 0-4.5 0a2.25 2.25 0 0 0 4.5 0Z" clip-rule="evenodd"/><path d="M7.205 7.562a.75.75 0 0 0-.993-1.124A8.73 8.73 0 0 0 3.25 13a.75.75 0 0 0 1.5 0a7.23 7.23 0 0 1 2.455-5.438Zm10.583-1.124a.75.75 0 0 0-.993 1.124A7.23 7.23 0 0 1 19.25 13a.75.75 0 0 0 1.5 0a8.73 8.73 0 0 0-2.962-6.562Zm-7.601 13.584a.75.75 0 1 0-.374 1.452a8.773 8.773 0 0 0 4.374 0a.75.75 0 1 0-.374-1.452A7.267 7.267 0 0 1 12 20.25a7.31 7.31 0 0 1-1.813-.228Z"/></g></svg>
icon: <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M28 8h2V4a2.002 2.002 0 0 0-2-2h-4v2h4zM17 2h4v2h-4zm11 9h2v4h-2zm0 7v4h-4V10a2.002 2.002 0 0 0-2-2H10V4h4V2h-4a2.002 2.002 0 0 0-2 2v4H4a2.002 2.002 0 0 0-2 2v18a2.002 2.002 0 0 0 2 2h18a2.002 2.002 0 0 0 2-2v-4h4a2.002 2.002 0 0 0 2-2v-4zm-6 10H4V10h18z"/></svg>
---
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"publint": "^0.2.5",
"rimraf": "^5.0.0",
"typescript": "^5.0.0",
"vite": "^4.5.0",
"vite": "^5.0.0",
"vitepress": "^1.0.0-rc.25"
}
}
Loading

0 comments on commit 0da6102

Please sign in to comment.