Skip to content

deps-dev(deps-dev): bump eslint from 8.57.1 to 9.36.0 in the development-dependencies group #24

deps-dev(deps-dev): bump eslint from 8.57.1 to 9.36.0 in the development-dependencies group

deps-dev(deps-dev): bump eslint from 8.57.1 to 9.36.0 in the development-dependencies group #24

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches: [ main, master, publish ]
pull_request:
branches: [ main, master, publish ]
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3.5'
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install Node.js dependencies
run: npm ci
- name: Lint JavaScript
run: npm run lint
- name: Build site
run: npm run build
env:
JEKYLL_ENV: production
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: site-build
path: _site/
retention-days: 1
# Deployment job for GitHub Pages
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/publish' && github.event_name == 'push'
steps:
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: site-build
path: _site/
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload to GitHub Pages
uses: actions/upload-pages-artifact@v3
with:
path: _site/
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4