chore(deps): bump actions/setup-node from 5 to 6 #539
Workflow file for this run
This file contains hidden or 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
| name: Check TOC | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - 'site/**' | |
| - 'scripts/**' | |
| - '.github/workflows/**' | |
| jobs: | |
| toc: | |
| name: TOC | |
| if: "!contains(github.event.head_commit.message, '[ci skip]')" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| token: ${{ secrets.GH_PAT || github.token }} | |
| ref: ${{ github.ref }} | |
| - name: Setup Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| cache: 'npm' | |
| node-version: 20 | |
| - name: Install Node dependencies | |
| run: npm ci | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: '3.4' | |
| - name: Setup data | |
| run: npm run data | |
| - name: Build Jekyll | |
| run: | | |
| pushd site | |
| bundle install | |
| bundle exec jekyll build -q | |
| popd | |
| - name: Build TOC | |
| run: scripts/generate-toc | |
| - name: Setup Git remote | |
| run: scripts/setup-git-ci.sh | |
| - name: Check and Commit | |
| run: scripts/check-and-commit-toc.sh |