Skip to content

Commit 2c454e8

Browse files
authored
Merge pull request #152 from github-samples/geektrainer/dependabot-alignment
chore(deps): align website deps with Dependabot + add TS 6/7 split
2 parents 7d00310 + 776894c commit 2c454e8

5 files changed

Lines changed: 2211 additions & 1961 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,12 @@ updates:
1717
dependency-type: production
1818
update-types:
1919
- patch
20+
ignore:
21+
# `typescript` is pinned to the 6.x line because our only type-checker,
22+
# @astrojs/check, peers on `typescript@^5 || ^6` and does not yet support
23+
# TypeScript 7. The TS 7 toolchain is tracked separately via the
24+
# `@typescript/native-preview` (tsgo) dev dependency and the `check:tsgo`
25+
# script. Drop this ignore once @astrojs/check supports TypeScript 7.
26+
- dependency-name: typescript
27+
update-types:
28+
- version-update:semver-major

‎.github/workflows/pages.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,18 @@ jobs:
2929
- name: Set up Node.js
3030
uses: actions/setup-node@v4
3131
with:
32-
node-version: '20'
32+
node-version: 'lts/*'
3333
cache: 'npm'
3434
cache-dependency-path: website/package-lock.json
3535

3636
- name: Install dependencies
3737
working-directory: website
3838
run: npm ci
3939

40+
- name: Type-check (astro check on TS 6 + tsgo on TS 7)
41+
working-directory: website
42+
run: npm run check:all
43+
4044
- name: Build Astro site
4145
working-directory: website
4246
run: npm run build

0 commit comments

Comments
 (0)