Skip to content

refactor: rename img-url to media-url and site.img_cdn to site.cdn #2598

refactor: rename img-url to media-url and site.img_cdn to site.cdn

refactor: rename img-url to media-url and site.img_cdn to site.cdn #2598

Workflow file for this run

name: "CI"
on:
push:
branches-ignore:
- "production"
- "docs"
paths-ignore:
- ".github/**"
- "!.github/workflows/ci.yml"
- ".gitignore"
- "docs/**"
- "README.md"
- "LICENSE"
pull_request:
paths:
- "**"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ["3.0", "3.1", "3.2"]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # for posts's lastmod
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Setup Node
uses: actions/setup-node@v4
- name: Build Assets
run: npm i && npm run build
- name: Test Site
run: bash tools/test