Merge pull request #419 from Jay2owe/add-cpc-plugin-page #1928
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: Jekyll Build | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby: [2.7.2, 3.0.0] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| # caches and runs bundle automatically - see | |
| # https://github.com/ruby/setup-ruby#caching-bundle-install-automatically | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Restore accessibility cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: .accessibility-cache | |
| key: accessibility-${{ github.sha }}-${{ github.run_attempt }} | |
| restore-keys: | | |
| accessibility-${{ github.sha }}- | |
| accessibility- | |
| - run: bundle exec jekyll build | |
| - run: _bin/run-all-checks.sh |