-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bb43160
commit 71e36d0
Showing
5 changed files
with
291 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.