Skip to content

chore(deps): Bump wrangler from 4.118.0 to 4.120.1 #672

chore(deps): Bump wrangler from 4.118.0 to 4.120.1

chore(deps): Bump wrangler from 4.118.0 to 4.120.1 #672

Workflow file for this run

name: Astro
on:
pull_request:
push:
branches:
- main
- next
permissions:
contents: read
env:
ASTRO_TELEMETRY_DISABLED: true
ASTRO_DISABLE_UPDATE_CHECK: true
FORCE_COLOR: 1
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set Up PNPM
uses: pnpm/setup@4700d737c3d7a2e7199f3d42a920f0bf7f34e411 # v2.0.1
with:
version: 11
cache: true
runtime: node@lts
- name: Cache Build
id: cache
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: |
${{ github.workspace }}/node_modules/.astro
key: astro-build-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**/astro.config.mjs', '**/*.jpg', '**/*.mdx', '**/*.png', '**/*.svg', '**/*.webp') }}
restore-keys: |
astro-build-${{ hashFiles('**/pnpm-lock.yaml') }}-
- name: Build With Astro
run: pnpm run build
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set Up PNPM
uses: pnpm/setup@4700d737c3d7a2e7199f3d42a920f0bf7f34e411 # v2.0.1
with:
version: 11
cache: true
runtime: node@lts
- name: Cache Build
id: cache
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: |
${{ github.workspace }}/node_modules/.astro
key: astro-check-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**/astro.config.mjs', '**/*.jpg', '**/*.mdx', '**/*.png', '**/*.svg', '**/*.webp') }}
restore-keys: |
astro-check-${{ hashFiles('**/pnpm-lock.yaml') }}-
- name: Run Checks With Astro
run: pnpm run check
check-links:
name: Check Links
runs-on: ubuntu-latest
env:
CHECK_LINKS: true
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set Up PNPM
uses: pnpm/setup@4700d737c3d7a2e7199f3d42a920f0bf7f34e411 # v2.0.1
with:
version: 11
cache: true
runtime: node@lts
# We don't want to save caches from these runs because they can invalidate it. See: https://starlight-links-validator.vercel.app/getting-started/#installation
- name: Restore Cache
id: cache
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: |
${{ github.workspace }}/node_modules/.astro
key: astro-build-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**/astro.config.mjs', '**/*.jpg', '**/*.mdx', '**/*.png', '**/*.svg', '**/*.webp') }}
restore-keys: |
astro-build-${{ hashFiles('**/pnpm-lock.yaml') }}-
- name: Run Build And Check
run: pnpm run build