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
20 changes: 14 additions & 6 deletions .github/workflows/github-actions-self-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ jobs:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version-file: .nvmrc
# Temporarily pinned to Node.js v24: the test script relies on the
# `node --test` glob, which needs Node.js v21+. Restore the
# node-version-file line once the repo root .nvmrc is set to v24.
node-version: '24'
# node-version-file: .nvmrc
Comment thread
eason9487 marked this conversation as resolved.
- name: Install dependencies
working-directory: packages/github-actions
run: npm ci --ignore-scripts
Expand All @@ -36,10 +40,14 @@ jobs:
name: Build Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version-file: .nvmrc
# Temporarily pinned to Node.js v24 to match the package engines
# while the repo root .nvmrc is still v20. Restore the
# node-version-file line once the repo root .nvmrc is set to v24.
node-version: '24'
# node-version-file: .nvmrc
- name: Install dependencies
working-directory: packages/github-actions
run: npm ci --ignore-scripts
Expand Down
2 changes: 1 addition & 1 deletion packages/github-actions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ All actions involving Node.js are run in v20.

### JavaScript actions

1. Install `node` with version v20
1. Install `node` with version v24
1. Install node modules `npm i`

### PHP actions
Expand Down
Loading
Loading