Skip to content

Commit

Permalink
chore: update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
CNSeniorious000 committed Jun 28, 2024
1 parent 6dd1a48 commit ea04685
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
name: eslint check

on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]

jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu, macos, windows]
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/python-checks.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: python checks

on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]

jobs:
check:
Expand All @@ -17,8 +17,7 @@ jobs:
run: |
pip install uv
uv pip install pdm isort black --compile-bytecode
pdm export --pyproject > requirements.txt
uv pip install -r requirements.txt
pdm export --pyproject | uv pip install -r -
yarn global add pyright
- name: Run isort check
run: |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"dev": "vite dev",
"lint": "eslint .",
"build": "vite build",
"build": "vite build --sourcemap",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
Expand Down

0 comments on commit ea04685

Please sign in to comment.