Skip to content

Commit

Permalink
Merge pull request #324 from mkobayashime/ci
Browse files Browse the repository at this point in the history
Simplify CI jobs
  • Loading branch information
mkobayashime authored Sep 30, 2024
2 parents 663642c + 83ef217 commit c31c384
Showing 1 changed file with 4 additions and 28 deletions.
32 changes: 4 additions & 28 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,34 +17,9 @@ jobs:
- run: make lint
- run: make format.check
- run: make typecheck
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
cache: "pnpm"
- run: make node_modules
- run: make test
docs:
name: Up-to-date docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
cache: "pnpm"
- run: make node_modules
- run: make docgen
- name: Check uncommitted changes
run: test -z "$(git status --porcelain)"
scripts:
name: Up-to-date scripts
up-to-date:
name: Up-to-date scripts/docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -57,5 +32,6 @@ jobs:
- run: make build
env:
NODE_OPTIONS: "--max_old_space_size=4096"
- run: make docgen
- name: Check uncommitted changes
run: test -z "$(git status --porcelain)"
run: git add --intent-to-add . && git diff --exit-code --stat

0 comments on commit c31c384

Please sign in to comment.