Skip to content

Commit

Permalink
ci: checks に docs を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsutakein committed Feb 28, 2024
1 parent 62d04cb commit 13279ad
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,32 @@ jobs:
level: error
reporter: github-pr-review

check-docs:
runs-on: ubuntu-22.04
needs: changed
if: needs.changed.outputs.docs == 'true'
timeout-minutes: 10

steps:
# https://github.com/marketplace/actions/checkout
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# https://github.com/marketplace/actions/mise-action
- name: mise action
uses: jdx/mise-action@3bc85396a273ed82bba5e53a15174bbf9dba095c # v2.0.2

- name: Install deps
run: bun install

- name: Build
run: bun run build

status-check:
runs-on: ubuntu-22.04
needs:
- check-actions
- check-docs
permissions: { }
if: failure()
steps:
Expand Down

0 comments on commit 13279ad

Please sign in to comment.