diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 00834444..806d9853 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,11 +11,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - with: - fetch-depth: 0 - ref: ${{ github.event.pull_request.head.ref }} - repository: ${{ github.event.pull_request.head.repo.full_name }} - persist-credentials: false - name: Setup Node.js uses: actions/setup-node@v4 @@ -26,4 +21,22 @@ jobs: run: npm ci # Using npm ci for a clean install based on package-lock.json - name: Check Formatting - run: npx prettier --check "**/*.{js,css,md,html}" \ No newline at end of file + run: npx prettier --check "**/*.{js,css,md,html}" + + jekyll: + needs: prettier + runs-on: ubuntu-22.04 + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Ruby + uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0 + with: + bundler-cache: true + cache-version: 0 + + - name: Build with Jekyll + run: bundle exec jekyll build + env: + JEKYLL_ENV: production