Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,12 @@ updates:
dependency-type: production
update-types:
- patch
ignore:
# `typescript` is pinned to the 6.x line because our only type-checker,
# @astrojs/check, peers on `typescript@^5 || ^6` and does not yet support
# TypeScript 7. The TS 7 toolchain is tracked separately via the
# `@typescript/native-preview` (tsgo) dev dependency and the `check:tsgo`
# script. Drop this ignore once @astrojs/check supports TypeScript 7.
- dependency-name: typescript
update-types:
- version-update:semver-major
6 changes: 5 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,18 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
cache: 'npm'
Comment on lines 31 to 33

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch on the determinism angle. Switched to node-version: 'lts/*' in 776894c, which always resolves to the current LTS (>=22.12) and self-maintains across future LTS releases — matching the Node setup shown in the cloud workshop lesson.

cache-dependency-path: website/package-lock.json

- name: Install dependencies
working-directory: website
run: npm ci

- name: Type-check (astro check on TS 6 + tsgo on TS 7)
working-directory: website
run: npm run check:all

- name: Build Astro site
working-directory: website
run: npm run build
Expand Down
Loading
Loading