Merge pull request #18 from pulsate-dev/docs/12-direct-note-specs #31
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
# この CI ではあくまでテストとビルド, フォーマットの検証のみを行う | |
name: ci | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
# renovate: rust-lang/mdBook | |
MDBOOK_VERSION: '0.4.40' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Install mdbook | |
uses: peaceiris/actions-mdbook@v2 | |
with: | |
mdbook-version: ${{ env.MDBOOK_VERSION }} | |
- name: Run fmt | |
run: | | |
deno task format:check | |
- name: Run test | |
run: | | |
deno task test | |
- name: Run build | |
run: | | |
deno task build |