Skip to content

chore(deps): bump astro from 7.0.3 to 7.0.4 in the astro group across 1 directory #27

chore(deps): bump astro from 7.0.3 to 7.0.4 in the astro group across 1 directory

chore(deps): bump astro from 7.0.3 to 7.0.4 in the astro group across 1 directory #27

Workflow file for this run

name: Astro
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
env:
ASTRO_TELEMETRY_DISABLED: true
ASTRO_DISABLE_UPDATE_CHECK: true
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Set Up PNPM
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
with:
version: latest
- name: Set Up Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: lts/*
cache: "pnpm"
- 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: Install Dependencies
run: pnpm ci
- name: Build With Astro
run: pnpm run build
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Set Up PNPM
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
with:
version: latest
- name: Set Up Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: lts/*
cache: "pnpm"
- 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: Install Dependencies
run: pnpm ci
- name: Run Checks With Astro
run: pnpm run check