Skip to content

Commit

Permalink
done
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniGuardiola committed Nov 16, 2023
1 parent d6ba1d7 commit 8f271a2
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/format-check .yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Check format
on:
pull_request:
jobs:
check-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- uses: actions/setup-node@v3
with:
node-version: 16.x
- run: bun install --frozen-lockfile --ignore-scripts
- name: Check format
run: bunx prettier . --check
17 changes: 17 additions & 0 deletions .github/workflows/lint-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Lint
on:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- uses: actions/setup-node@v3
with:
node-version: 16.x
- run: bun install --frozen-lockfile --ignore-scripts
- name: Lint
run: bunx eslint .
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
node-version: 16.x
- run: bun install --frozen-lockfile --ignore-scripts
- name: Create Release Pull Request or Publish
- name: Create release pull request or publish
id: changesets
uses: changesets/action@v1
with:
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/type-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Check types
on:
pull_request:
jobs:
check-types:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- uses: actions/setup-node@v3
with:
node-version: 16.x
- run: bun install --frozen-lockfile --ignore-scripts
- name: Check types
run: bunx tsc --noEmit

0 comments on commit 8f271a2

Please sign in to comment.