Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: withastro/astro
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: astro@5.5.3
Choose a base ref
...
head repository: withastro/astro
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: astro@5.5.4
Choose a head ref

Commits on Mar 18, 2025

  1. Copy the full SHA
    6fd90d9 View commit details
  2. ci: pin actions via digest (#13453)

    Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
    ematipico and ascorbic authored Mar 18, 2025
    Copy the full SHA
    870a34d View commit details
  3. chore(deps): update github-actions (#13454)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 18, 2025
    Copy the full SHA
    e934fa1 View commit details
  4. ci: restore workflow (#13456)

    Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
    ematipico and ascorbic authored Mar 18, 2025
    Copy the full SHA
    f3e1955 View commit details
  5. fix(deps): update dependency miniflare to v4 (#13441)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 18, 2025
    Copy the full SHA
    841f577 View commit details
  6. Copy the full SHA
    c69bf18 View commit details
  7. [ci] format

    ematipico authored and astrobot-houston committed Mar 18, 2025
    Copy the full SHA
    5339f17 View commit details
  8. chore(deps): update github-actions (#13458)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 18, 2025
    Copy the full SHA
    64c8d67 View commit details
  9. chore(deps): update github-actions (#13459)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 18, 2025
    Copy the full SHA
    5fe5c4c View commit details
  10. fix: set correct statusText for custom error pages (#13457)

    * fix: set correct statusText for custom error pages
    
    * Set conditionally
    ascorbic authored Mar 18, 2025
    Copy the full SHA
    968e713 View commit details
  11. [ci] format

    ascorbic authored and astrobot-houston committed Mar 18, 2025
    Copy the full SHA
    b3d445f View commit details

Commits on Mar 19, 2025

  1. fix(routing): don't add site to static redirects (#13447)

    * fix(routing): don't add site to static redirects
    
    * chore: fix canonical tag
    
    * chore: fix canonical tag
    
    Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
    ematipico and ascorbic authored Mar 19, 2025
    Copy the full SHA
    d80ba2b View commit details
  2. [ci] format

    ematipico authored and astrobot-houston committed Mar 19, 2025
    Copy the full SHA
    53abc9d View commit details
  3. fix: don't attempt to move files after build with base (#13463)

    * fix: don't attempt to move files after build with base
    
    * Remove console
    
    * Reword changeset
    
    * Remove unused import
    ascorbic authored Mar 19, 2025
    Copy the full SHA
    d5ad591 View commit details
  4. [ci] format

    ascorbic authored and astrobot-houston committed Mar 19, 2025
    Copy the full SHA
    e26938b View commit details

Commits on Mar 20, 2025

  1. Copy the full SHA
    62595a0 View commit details
  2. fix(preact,svelte): empty target container before rendering `client:o…

    …nly` island (#13470)
    
    * fix(preact,svelte): empty target container before rendering `client:only` island
    
    * Remove log
    ascorbic authored Mar 20, 2025
    Copy the full SHA
    ecadb6b View commit details
  3. [ci] format

    ascorbic authored and astrobot-houston committed Mar 20, 2025
    Copy the full SHA
    baa6265 View commit details
  4. Add deprecation notice to Tailwind integration README (#13471)

    * Add deprecation notice to Tailwind integration README
    
    * Add changeset
    
    * Use `[docs]` link style again
    
    * update link to more direct content
    
    ---------
    
    Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
    
    Co-authored-by: anaxite <89195061+anaxite@users.noreply.github.com>
    Co-authored-by: sarah11918 <5098874+sarah11918@users.noreply.github.com>
    Co-authored-by: Adammatthiesen <30383579+Adammatthiesen@users.noreply.github.com>
    Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com>
    5 people authored Mar 20, 2025
    Copy the full SHA
    020c542 View commit details
  5. Small change to linking style (#13472)

    Co-authored-by: sarah11918 <5098874+sarah11918@users.noreply.github.com>
    delucis and sarah11918 authored Mar 20, 2025
    Copy the full SHA
    f49155f View commit details

Commits on Mar 21, 2025

  1. fix(deps): update astro client runtimes (#13474)

    * fix(deps): update astro client runtimes
    
    * fix: pin vite-plugin-vue
    
    ---------
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
    renovate[bot] and florian-lefebvre authored Mar 21, 2025
    Copy the full SHA
    3bc2c09 View commit details
  2. feat(cloudflare): global env (#13444)

    * feat(cloudflare): global env
    
    * fix: test
    florian-lefebvre authored Mar 21, 2025
    Copy the full SHA
    9721f4a View commit details
  3. [ci] format

    florian-lefebvre authored and astrobot-houston committed Mar 21, 2025
    Copy the full SHA
    b67e983 View commit details
  4. fix(deps): update all non-major dependencies (#13440)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 21, 2025
    Copy the full SHA
    9a0808c View commit details
  5. Copy the full SHA
    12cc4d8 View commit details
  6. Repair server islands to work with client router (#13481)

    * rerun server island scripts when used with client router
    martrapp authored Mar 21, 2025
    Copy the full SHA
    e9e9245 View commit details
  7. fix: better error handling on Stackblitz (#13484)

    * fix: better error handling on Stackblitz
    
    * Remove unused imports
    ascorbic authored Mar 21, 2025
    Copy the full SHA
    8b5e4dc View commit details
  8. [ci] release (#13460)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    astrobot-houston and github-actions[bot] authored Mar 21, 2025
    Copy the full SHA
    6b90200 View commit details
Showing with 1,396 additions and 970 deletions.
  1. +67 −11 .github/renovate.json5
  2. +6 −6 .github/workflows/benchmark.yml
  3. +96 −0 .github/workflows/check-merge.yml
  4. +3 −3 .github/workflows/check.yml
  5. +17 −17 .github/workflows/ci.yml
  6. +2 −2 .github/workflows/cleanup-cache.yml
  7. +4 −4 .github/workflows/continuous_benchmark.yml
  8. +1 −1 .github/workflows/examples-deploy.yml
  9. +3 −3 .github/workflows/issue-labeled.yml
  10. +1 −1 .github/workflows/issue-needs-repro.yml
  11. +1 −1 .github/workflows/issue-opened.yml
  12. +4 −4 .github/workflows/preview-release.yml
  13. +5 −5 .github/workflows/release.yml
  14. +5 −5 .github/workflows/scripts.yml
  15. +6 −6 .github/workflows/sync-examples.yml
  16. +3 −3 .github/workflows/test-hosts.yml
  17. +1 −1 benchmark/package.json
  18. +1 −1 examples/basics/package.json
  19. +1 −1 examples/blog/package.json
  20. +1 −1 examples/component/package.json
  21. +3 −3 examples/container-with-vitest/package.json
  22. +2 −2 examples/framework-alpine/package.json
  23. +5 −5 examples/framework-multiple/package.json
  24. +2 −2 examples/framework-preact/package.json
  25. +2 −2 examples/framework-react/package.json
  26. +1 −1 examples/framework-solid/package.json
  27. +3 −3 examples/framework-svelte/package.json
  28. +1 −1 examples/framework-vue/package.json
  29. +1 −1 examples/hackernews/package.json
  30. +1 −1 examples/integration/package.json
  31. +1 −1 examples/minimal/package.json
  32. +1 −1 examples/portfolio/package.json
  33. +3 −3 examples/ssr/package.json
  34. +2 −2 examples/starlog/package.json
  35. +1 −1 examples/toolbar-app/package.json
  36. +1 −1 examples/with-markdoc/package.json
  37. +2 −2 examples/with-mdx/package.json
  38. +2 −2 examples/with-nanostores/package.json
  39. +3 −3 examples/with-tailwindcss/package.json
  40. +2 −2 examples/with-vitest/package.json
  41. +1 −1 package.json
  42. +1 −1 packages/astro-rss/package.json
  43. +20 −8 packages/astro/CHANGELOG.md
  44. +15 −0 packages/astro/e2e/client-only.test.js
  45. +5 −0 packages/astro/e2e/fixtures/client-only/src/pages/index.astro
  46. +2 −3 packages/astro/package.json
  47. +13 −5 packages/astro/src/core/app/index.ts
  48. +6 −1 packages/astro/src/core/build/generate.ts
  49. +7 −0 packages/astro/src/core/config/vite-load.ts
  50. +11 −7 packages/astro/src/core/cookies/cookies.ts
  51. +12 −6 packages/astro/src/core/routing/3xx.ts
  52. +9 −1 packages/astro/src/runtime/server/render/page.ts
  53. +6 −6 packages/astro/src/runtime/server/render/server-islands.ts
  54. +5 −1 packages/astro/src/vite-plugin-astro-server/response.ts
  55. +3 −1 packages/astro/src/vite-plugin-astro-server/route.ts
  56. +1 −0 packages/astro/test/custom-404-static.test.js
  57. +1 −0 packages/astro/test/custom-500.test.js
  58. +21 −0 packages/astro/test/redirects.test.js
  59. +3 −3 packages/db/package.json
  60. +2 −2 packages/db/test/fixtures/ticketing-example/package.json
  61. +2 −2 packages/integrations/alpinejs/package.json
  62. +1 −1 packages/integrations/alpinejs/test/fixtures/basics/package.json
  63. +1 −1 packages/integrations/alpinejs/test/fixtures/directive/package.json
  64. +1 −1 packages/integrations/alpinejs/test/fixtures/plugin-script-import/package.json
  65. +17 −0 packages/integrations/cloudflare/CHANGELOG.md
  66. +1 −0 packages/integrations/cloudflare/env.d.ts
  67. +4 −4 packages/integrations/cloudflare/package.json
  68. +3 −2 packages/integrations/cloudflare/src/entrypoints/server.ts
  69. +1 −13 packages/integrations/cloudflare/src/index.ts
  70. +12 −0 packages/integrations/cloudflare/test/fixtures/with-base/astro.config.mjs
  71. +9 −0 packages/integrations/cloudflare/test/fixtures/with-base/package.json
  72. +4 −0 packages/integrations/cloudflare/test/fixtures/with-base/src/pages/index.astro
  73. +4 −0 packages/integrations/cloudflare/test/fixtures/with-base/src/pages/static.astro
  74. +21 −0 packages/integrations/cloudflare/test/with-base-path.js
  75. +1 −1 packages/integrations/cloudflare/tsconfig.json
  76. +1 −1 packages/integrations/markdoc/package.json
  77. +6 −0 packages/integrations/preact/CHANGELOG.md
  78. +2 −2 packages/integrations/preact/package.json
  79. +11 −5 packages/integrations/preact/src/client.ts
  80. +2 −2 packages/integrations/react/package.json
  81. +1 −1 packages/integrations/solid/package.json
  82. +6 −0 packages/integrations/svelte/CHANGELOG.md
  83. +3 −0 packages/integrations/svelte/client.svelte.js
  84. +3 −3 packages/integrations/svelte/package.json
  85. +6 −0 packages/integrations/tailwind/CHANGELOG.md
  86. +6 −6 packages/integrations/tailwind/README.md
  87. +2 −2 packages/integrations/tailwind/package.json
  88. +6 −0 packages/integrations/vercel/CHANGELOG.md
  89. +1 −1 packages/integrations/vercel/package.json
  90. +8 −4 packages/integrations/vercel/src/lib/redirects.ts
  91. +8 −0 packages/integrations/vercel/test/redirects.test.js
  92. +3 −3 packages/integrations/vue/package.json
  93. +1 −1 packages/markdown/remark/package.json
  94. +1 −1 packages/studio/package.json
  95. +1 −1 packages/upgrade/package.json
  96. +825 −751 pnpm-lock.yaml
78 changes: 67 additions & 11 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -4,38 +4,94 @@
"config:recommended",
"schedule:weekly",
"group:allNonMajor",
":disablePeerDependencies",
":disablePeerDependencies",
"regexManagers:biomeVersions",
"helpers:pinGitHubActionDigestsToSemver"
],
"labels": [
"dependencies"
],
"labels": ["dependencies"],
"rangeStrategy": "bump",
"postUpdateOptions": ["pnpmDedupe"],
"ignorePaths": ["**/node_modules/**"],
"postUpdateOptions": [
"pnpmDedupe"
],
"ignorePaths": [
"**/node_modules/**"
],
"packageRules": [
// TODO: remove once the tailwind integration is removed
{
"matchPackageNames": ["tailwindcss"],
"ignorePaths": ["packages/integrations/tailwind"]
"matchPackageNames": [
"tailwindcss"
],
"ignorePaths": [
"packages/integrations/tailwind"
]
},
{
"groupName": "github-actions",
"matchManagers": [
"github-actions"
]
},
{
"groupName": "astro dependencies",
"matchManagers": [
"npm"
],
"matchFileNames": [
"packages/astro/**",
"packages/integrations/mdx/**",
"packages/integrations/remark/**",
]
},
{
"groupName": "astro adapters",
"matchManagers": [
"npm"
],
"matchFileNames": [
"packages/integrations/node/**",
"packages/integrations/netlify/**",
"packages/integrations/cloudflare/**",
"packages/integrations/vercel/**",
]
},
{
"groupName": "astro client runtimes",
"matchManagers": [
"npm"
],
"matchFileNames": [
"packages/integrations/react/**",
"packages/integrations/solid/**",
"packages/integrations/preact/**",
"packages/integrations/svelte/**",
"packages/integrations/vue/**",
]
}
],
"ignoreDeps": [
// manually bumping deps
"@biomejs/biome",
"@types/node",
"astro-embed", // TODO: investigate upgrade (zod import issues with atproto)
"drizzle-orm", // TODO: investigate upgrade (has type issues)

// TODO: investigate upgrade (zod import issues with atproto)
"astro-embed",

// TODO: investigate upgrade (has type issues)
"drizzle-orm",
"sharp",

// manually bumping workflow actions
"actions/labeler",

// ignore "engines" update
"node",
"npm",
"pnpm",

// follow vite deps version
"postcss-load-config",
"esbuild",
// TODO: follow https://github.com/withastro/astro/pull/13478
"@vitejs/plugin-vue"
],
}
12 changes: 6 additions & 6 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -21,23 +21,23 @@ jobs:
MAIN-BENCH: ${{ steps.benchmark-main.outputs.BENCH_RESULT }}
steps:
- name: Check if user has write access
uses: lannonbr/repo-permission-check-action@2.0.2
uses: lannonbr/repo-permission-check-action@2bb8c89ba8bf115c4bfab344d6a6f442b24c9a1f # 2.0.2
with:
permission: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# https://github.com/actions/checkout/issues/331#issuecomment-1438220926
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
ref: refs/pull/${{ github.event.issue.number }}/head

- name: Setup PNPM
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version: 22
cache: "pnpm"
@@ -70,7 +70,7 @@ jobs:
shell: bash

# main benchmark
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
ref: "main"
@@ -101,7 +101,7 @@ jobs:
pull-requests: write
steps:
- name: Comment PR
uses: peter-evans/create-or-update-comment@v4
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4
continue-on-error: true
with:
issue-number: ${{ github.event.issue.number }}
96 changes: 96 additions & 0 deletions .github/workflows/check-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
name: Check mergeability

on: pull_request_target

permissions:
pull-requests: write
checks: write
statuses: write

jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Check if there is already a block on this PR
id: blocked
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
env:
issue_number: ${{ github.event.number }}
with:
script: |
const { data: reviews } = await github.rest.pulls.listReviews({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: process.env.issue_number,
});
for (const review of reviews) {
if (review.user.login === 'github-actions[bot]' && review.state === 'CHANGES_REQUESTED') {
return 'true'
}
}
return 'false'
result-encoding: string

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
if: steps.blocked.outputs.result != 'true'
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- name: Get changed files in the .changeset folder
id: changed-files
uses: tj-actions/changed-files@2f7c5bfce28377bc069a65ba478de0a74aa0ca32 # v46.0.1
if: steps.blocked.outputs.result != 'true'
with:
files: |
.changeset/**/*.md
- name: Check if any changesets contain minor or major changes
id: check
if: steps.blocked.outputs.result != 'true'
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
echo "Checking for changesets marked as minor or major"
echo "found=false" >> $GITHUB_OUTPUT
regex="[\"']astro[\"']: (minor|major)"
for file in ${ALL_CHANGED_FILES}; do
if [[ $(cat $file) =~ $regex ]]; then
version="${BASH_REMATCH[1]}"
echo "version=$version" >> $GITHUB_OUTPUT
echo "found=true" >> $GITHUB_OUTPUT
echo "$file has a $version release tag"
fi
done
- name: Add label
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
if: steps.check.outputs.found == 'true'
env:
issue_number: ${{ github.event.number }}
with:
script: |
github.rest.issues.addLabels({
issue_number: process.env.issue_number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['semver: ${{ steps.check.outputs.version }}']
});
- name: Change PR Status
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
if: steps.check.outputs.found == 'true'
env:
issue_number: ${{ github.event.number }}
with:
script: |
github.rest.pulls.createReview({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: process.env.issue_number,
event: 'REQUEST_CHANGES',
body: 'This PR is blocked because it contains a `${{ steps.check.outputs.version }}` changeset. A reviewer will merge this at the next release if approved.'
});
6 changes: 3 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -28,13 +28,13 @@ jobs:
timeout-minutes: 7
steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup PNPM
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version: 22
cache: "pnpm"
34 changes: 17 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -47,13 +47,13 @@ jobs:
run: git config --global core.autocrlf false

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup PNPM
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

- name: Setup node@${{ matrix.NODE_VERSION }}
uses: actions/setup-node@v4
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version: ${{ matrix.NODE_VERSION }}
cache: "pnpm"
@@ -77,13 +77,13 @@ jobs:
run: git config --global core.autocrlf false

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup PNPM
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version: 22
cache: "pnpm"
@@ -122,13 +122,13 @@ jobs:
run: git config --global core.autocrlf false

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup PNPM
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

- name: Setup node@${{ matrix.NODE_VERSION }}
uses: actions/setup-node@v4
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version: ${{ matrix.NODE_VERSION }}
cache: "pnpm"
@@ -159,13 +159,13 @@ jobs:
run: git config --global core.autocrlf false

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup PNPM
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

- name: Setup node@${{ matrix.NODE_VERSION }}
uses: actions/setup-node@v4
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version: ${{ matrix.NODE_VERSION }}
cache: "pnpm"
@@ -195,19 +195,19 @@ jobs:
run: git config --global core.autocrlf false

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup PNPM
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

- name: Setup node@${{ matrix.NODE_VERSION }}
uses: actions/setup-node@v4
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version: ${{ matrix.NODE_VERSION }}
cache: "pnpm"

- name: Checkout docs
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: withastro/docs
path: smoke/docs
@@ -232,7 +232,7 @@ jobs:

- name: Check if docs changed
id: changes
uses: dorny/paths-filter@v3
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
with:
filters: |
docs:
4 changes: 2 additions & 2 deletions .github/workflows/cleanup-cache.yml
Original file line number Diff line number Diff line change
@@ -12,11 +12,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Cleanup caches older than 5 days
if: github.event_name == 'schedule'
uses: MyAlbum/purge-cache@v2
uses: MyAlbum/purge-cache@881eb5957687193fa612bf74c0042adc78ea5e54 # v2.2.0
with:
max-age: 432000

Loading