Skip to content

Commit cdeb743

Browse files
authored
ci: move the workflows to the current action majors (#87)
The three workflows were several majors behind on every action, and nothing raises them on its own: the repository has no Dependabot or Renovate configuration. Bump them together so `docs.yml` does not sit on versions the other two have left: - actions/checkout v4 -> v7 (all three workflows) - actions/setup-node v4 -> v7 (all three workflows) - actions/configure-pages v5 -> v6 (docs.yml) - actions/upload-pages-artifact v3 -> v5 (docs.yml) - actions/deploy-pages v4 -> v5 (docs.yml) - codecov/codecov-action v5 -> v7 (node.js.yml) Every input used here still exists at the target major, read from each action.yml: checkout keeps `fetch-depth`, setup-node keeps `node-version` and `cache`, upload-pages-artifact keeps `path`, configure-pages, deploy-pages and codecov-action keep `token` and the rest of their interface.
1 parent 42f5e44 commit cdeb743

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎.github/workflows/docs.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ jobs:
5757
runs-on: ubuntu-latest
5858
steps:
5959
- name: Checkout
60-
uses: actions/checkout@v4
60+
uses: actions/checkout@v7
6161

6262
- name: Use Node.js 24
63-
uses: actions/setup-node@v4
63+
uses: actions/setup-node@v7
6464
with:
6565
node-version: 24
6666
cache: "npm"
@@ -72,10 +72,10 @@ jobs:
7272
- run: npm run docs:build
7373

7474
- name: Configure Pages
75-
uses: actions/configure-pages@v5
75+
uses: actions/configure-pages@v6
7676

7777
- name: Upload the site
78-
uses: actions/upload-pages-artifact@v3
78+
uses: actions/upload-pages-artifact@v5
7979
with:
8080
path: docs/.vitepress/dist
8181

@@ -94,4 +94,4 @@ jobs:
9494
steps:
9595
- name: Deploy
9696
id: deployment
97-
uses: actions/deploy-pages@v4
97+
uses: actions/deploy-pages@v5

‎.github/workflows/node.js.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121

2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v7
2525
with:
2626
fetch-depth: 2
2727

2828
- name: Use Node.js ${{ matrix.node-version }}
29-
uses: actions/setup-node@v4
29+
uses: actions/setup-node@v7
3030
with:
3131
node-version: ${{ matrix.node-version }}
3232
cache: 'npm'
@@ -46,7 +46,7 @@ jobs:
4646
# tarball produced by npm pack
4747
- run: npm run verify:package
4848
- name: Upload coverage reports to Codecov
49-
uses: codecov/codecov-action@v5
49+
uses: codecov/codecov-action@v7
5050
if: matrix.node-version == '24.x'
5151
with:
5252
token: ${{ secrets.CODECOV_TOKEN }}

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212

1313
steps:
1414
- name: Checkout code
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v7
1616

1717
- name: Setup Node.js
18-
uses: actions/setup-node@v4
18+
uses: actions/setup-node@v7
1919
with:
2020
node-version: '22'
2121
cache: 'npm'

0 commit comments

Comments
 (0)