Skip to content

Commit

Permalink
update and fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
HoodieRocks committed Nov 7, 2023
1 parent bb43160 commit 71e36d0
Show file tree
Hide file tree
Showing 5 changed files with 291 additions and 253 deletions.
67 changes: 41 additions & 26 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,44 +14,59 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: actions/checkout@v4.1.1
- uses: oven-sh/setup-bun@v1
- uses: actions/checkout@v3.5.2
- uses: pnpm/action-setup@v2
with:
bun-version: latest
version: 8
- name: Setup Node
uses: actions/[email protected]
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: |
bun install
pnpm i
- name: Run Format
run: |
bun format
- uses: stefanzweifel/git-auto-commit-action@v5.0.0
pnpm format
- uses: stefanzweifel/git-auto-commit-action@v4.16.0
with:
commit_message: "Apply formatting"
# check:
# runs-on: ubuntu-latest
# timeout-minutes: 3
# steps:
# - uses: actions/[email protected]
# - uses: oven-sh/setup-bun@v1
# with:
# bun-version: latest
# - name: Install dependencies
# run: |
# bun install
# - name: Run check
# run: |
# bun check
check:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: actions/[email protected]
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node
uses: actions/[email protected]
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: |
pnpm i
- name: Run check
run: |
pnpm check
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
timeout-minutes: 3
steps:
- uses: actions/[email protected]
- uses: oven-sh/setup-bun@v1
- uses: actions/[email protected]
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node
uses: actions/[email protected]
with:
bun-version: latest
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: |
bun install
pnpm i
- name: Run Linter
run: |
bun lint
pnpm lint
Binary file modified bun.lockb
Binary file not shown.
139 changes: 76 additions & 63 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@
},
"devDependencies": {
"@floating-ui/core": "^1.5.0",
"@formkit/auto-animate": "^0.8.0",
"@formkit/auto-animate": "^0.8.1",
"@iconify-json/tabler": "^1.1.96",
"@playwright/test": "^1.39.0",
"@sveltejs/adapter-cloudflare": "^2.3.3",
"@sveltejs/kit": "^1.27.3",
"@types/animejs": "^3.1.10",
"@types/nprogress": "^0.2.2",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"@types/animejs": "^3.1.11",
"@types/nprogress": "^0.2.3",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"animejs": "^3.2.1",
"dotenv": "^16.3.1",
"esbuild": "^0.19.5",
"eslint": "^8.53.0",
"eslint-plugin-svelte": "^2.34.1",
"eslint-plugin-svelte": "^2.35.0",
"eslint-plugin-unicorn": "^49.0.0",
"highlight.js": "^11.9.0",
"jszip": "^3.10.1",
Expand Down
Loading

0 comments on commit 71e36d0

Please sign in to comment.