Skip to content

Commit 183e0a9

Browse files
committed
ci: update action runtimes
1 parent 4dea663 commit 183e0a9

4 files changed

Lines changed: 13 additions & 8 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
matrix:
1414
node-version: [22, 24]
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v7
1717

18-
- uses: pnpm/action-setup@v4
18+
- uses: pnpm/action-setup@v6
1919
with:
2020
version: 10.28.1
2121

22-
- uses: actions/setup-node@v4
22+
- uses: actions/setup-node@v7
2323
with:
2424
node-version: ${{ matrix.node-version }}
2525
cache: pnpm

‎.github/workflows/publish.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ jobs:
1212
publish-npm:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v6
15+
- uses: actions/checkout@v7
1616
with:
1717
fetch-depth: 0
1818

19-
- uses: pnpm/action-setup@v4
19+
- uses: pnpm/action-setup@v6
2020
with:
2121
version: 10.28.1
2222

23-
- uses: actions/setup-node@v6
23+
- uses: actions/setup-node@v7
2424
with:
2525
node-version: 24
2626
registry-url: https://registry.npmjs.org

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2929
scan arguments and link to focused guides.
3030
- Contributor setup follows the generated-file, test, preflight, and package
3131
checks used in CI.
32+
- CI and publish actions run on their maintained Node 24 action runtimes.
3233

3334
### Fixed
3435

‎scripts/tests/skills-packaging.test.cjs‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ test('CI uses supported Node releases and installs the locked toolchain', () =>
3737
);
3838
assert.match(workflow, /node-version: \[22, 24\]/);
3939
assert.match(workflow, /pnpm install --frozen-lockfile/);
40+
assert.match(workflow, /actions\/checkout@v7/);
41+
assert.match(workflow, /pnpm\/action-setup@v6/);
42+
assert.match(workflow, /actions\/setup-node@v7/);
4043
assert.doesNotMatch(workflow, /node-version: \[(?:18|20)/);
4144
});
4245

@@ -49,8 +52,9 @@ test('publish workflow is release-only and uses npm trusted publishing', () => {
4952
assert.match(workflow, /node scripts\/prepublish-guard\.cjs/);
5053
assert.match(workflow, /npm publish --access public/);
5154
assert.match(workflow, /id-token: write/);
52-
assert.match(workflow, /actions\/checkout@v6/);
53-
assert.match(workflow, /actions\/setup-node@v6/);
55+
assert.match(workflow, /actions\/checkout@v7/);
56+
assert.match(workflow, /pnpm\/action-setup@v6/);
57+
assert.match(workflow, /actions\/setup-node@v7/);
5458
assert.match(workflow, /refs\/remotes\/origin\/main/);
5559
assert.doesNotMatch(workflow, /NODE_AUTH_TOKEN/);
5660
});

0 commit comments

Comments
 (0)