Skip to content

Commit b17436d

Browse files
authored
Merge pull request #45282 from github/repo-sync
Repo sync
2 parents 4347dfc + eaf63d9 commit b17436d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
actions/setup-node@v4
1+
actions/setup-node@v7

data/reusables/actions/workflow-basic-example-and-explanation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ You can create an example workflow in your repository that automatically trigger
1818
- uses: {% data reusables.actions.action-checkout %}
1919
- uses: {% data reusables.actions.action-setup-node %}
2020
with:
21-
node-version: '20'
21+
node-version: '24'
2222
- run: npm install -g bats
2323
- run: bats -v
2424
```
@@ -56,10 +56,10 @@ jobs:
5656
# The `uses` keyword specifies that this step will run the `{% data reusables.actions.action-checkout %}` action. This is an action that checks out your repository onto the runner, allowing you to run scripts or other actions against your code (such as build and test tools). You should use the checkout action any time your workflow will use the repository's code.
5757
- uses: {% data reusables.actions.action-checkout %}
5858

59-
# This step uses the `{% data reusables.actions.action-setup-node %}` action to install the specified version of the Node.js. (This example uses version 20.) This puts both the `node` and `npm` commands in your `PATH`.
59+
# This step uses the `{% data reusables.actions.action-setup-node %}` action to install the specified version of the Node.js. (This example uses version 24.) This puts both the `node` and `npm` commands in your `PATH`.
6060
- uses: {% data reusables.actions.action-setup-node %}
6161
with:
62-
node-version: '20'
62+
node-version: '24'
6363

6464
# The `run` keyword tells the job to execute a command on the runner. In this case, you are using `npm` to install the `bats` software testing package.
6565
- run: npm install -g bats

0 commit comments

Comments
 (0)