Skip to content

chore(deps): update actions/setup-node digest to 6044e13 (#469) #400

chore(deps): update actions/setup-node digest to 6044e13 (#469)

chore(deps): update actions/setup-node digest to 6044e13 (#469) #400

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
env:
ASTRO_TELEMETRY_DISABLED: true
FORCE_COLOR: true
permissions:
contents: read
jobs:
astro:
name: Astro Check
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Setup Node.js
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
with:
node-version: 24
cache: yarn
- name: Install Dependencies
run: yarn --immutable
- name: Run Astro Check
run: yarn astro check
formatting:
name: Formatting
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Setup Node.js
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
with:
node-version: 24
cache: yarn
- name: Install Dependencies
run: yarn --immutable
- name: Run Prettier
run: yarn prettier --check .
commitlint:
name: Commit Message Linting
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
with:
node-version: 24
cache: yarn
- name: Install Dependencies
run: yarn --immutable
# https://commitlint.js.org/guides/ci-setup#github-actions
- name: Validate current commit (last commit) with commitlint
if: github.event_name == 'push'
run: yarn commitlint --last --verbose
- name: Validate PR commits with commitlint
if: github.event_name == 'pull_request'
run: |
yarn commitlint \
--from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} \
--to ${{ github.event.pull_request.head.sha }} \
--verbose