Skip to content

Commit 9c556d1

Browse files
authored
Bump actions/setup-node to v2
The `actions/setup-node` GitHub Actions action is used in the "test" workflow to setup a specific version range of Node.js for use in the GitHub Actions runner. The 2.x.x major version series of the action is now well into production status and the 1.x.x series is no longer under active development. The use of the `v2` major version ref will cause the workflow to use a stable version of the action, while also benefiting from ongoing development to the action up until such time as a new major release of an action is made. At that time we would need to evaluate whether any changes to the workflow are required by the breaking change that triggered the major release before manually updating the major ref (e.g., uses: `actions/setup-node@v3`).
1 parent 87a0d9e commit 9c556d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: actions/checkout@v2
2626

2727
- name: Set Node.js 10.x
28-
uses: actions/setup-node@v1
28+
uses: actions/setup-node@v2
2929
with:
3030
node-version: 10.x
3131

0 commit comments

Comments
 (0)