Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version-file: .nvmrc
# Astro can require a newer patch than the runner has cached.
check-latest: true
cache: npm

- name: Install dependencies
Expand Down Expand Up @@ -59,6 +61,7 @@ jobs:
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ matrix.node }}
check-latest: true
cache: npm

- name: Install dependencies
Expand Down Expand Up @@ -94,6 +97,7 @@ jobs:
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version-file: .nvmrc
check-latest: true
cache: npm

- name: Install dependencies
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ jobs:
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version-file: .nvmrc
# Match CI instead of using a potentially older cached Node patch.
check-latest: true
cache: npm

- name: Install dependencies
Expand Down Expand Up @@ -131,6 +133,7 @@ jobs:
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version-file: .nvmrc
check-latest: true
registry-url: https://registry.npmjs.org

# The only step that receives the npm credential. It publishes before
Expand Down
6 changes: 5 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ provenance of the vendored Boomerang build.

## Local setup

Node.js 22.12 or later is required. Clone the repository and install dependencies:
The repository's pinned Astro version requires Node.js 22.23.4 or later.
Use the latest Node.js 22 patch (`nvm install` and `nvm use` read `.nvmrc`),
or Node.js 24. CI and release jobs check for the latest patch instead of relying
on the runner's cached Node.js version. Clone the repository and install
dependencies:

```bash
git clone https://github.com/basicrum/basicrum-astro.git
Expand Down
Loading
Loading