Merge pull request #3624 from spryker/feature/sc-24749/master-enable-… #20597
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: CI | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| jekyll_build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.2.2 | |
| bundler-cache: true | |
| - name: Build Jekyll site | |
| run: bundle exec jekyll build --config=_config.yml,_config_production.yml -t | |
| - name: Pack artifacts | |
| run: tar -czf result.tar.gz _site | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: build-result | |
| path: result.tar.gz | |
| page_validation: | |
| name: Page validation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.2.2 | |
| bundler-cache: true | |
| - name: Validate Jekyll pages | |
| run: bundle exec jekyll validate | |
| link_validation_check_about: | |
| name: Links validation (check_about) | |
| needs: jekyll_build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.2.2 | |
| bundler-cache: true | |
| - uses: actions/download-artifact@v4 | |
| - name: Unpack artifacts | |
| run: tar -xf build-result/result.tar.gz | |
| - run: bundle exec rake check_about | |
| link_validation_check_ca: | |
| name: Links validation (check_ca) | |
| needs: jekyll_build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.2.2 | |
| bundler-cache: true | |
| - uses: actions/download-artifact@v4 | |
| - name: Unpack artifacts | |
| run: tar -xf build-result/result.tar.gz | |
| - run: bundle exec rake check_ca | |
| link_validation_check_pbc: | |
| name: Links validation (check_pbc) | |
| needs: jekyll_build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.2.2 | |
| bundler-cache: true | |
| - uses: actions/download-artifact@v4 | |
| - name: Unpack artifacts | |
| run: tar -xf build-result/result.tar.gz | |
| - run: bundle exec rake check_pbc | |
| link_validation_check_dg: | |
| name: Links validation (check_dg) | |
| needs: jekyll_build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.2.2 | |
| bundler-cache: true | |
| - uses: actions/download-artifact@v4 | |
| - name: Unpack artifacts | |
| run: tar -xf build-result/result.tar.gz | |
| - run: bundle exec rake check_dg | |
| link_validation_check_integrations: | |
| name: Links validation (check_integrations) | |
| needs: jekyll_build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.2.2 | |
| bundler-cache: true | |
| - uses: actions/download-artifact@v4 | |
| - name: Unpack artifacts | |
| run: tar -xf build-result/result.tar.gz | |
| - run: bundle exec rake check_integrations | |