We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
.nvmrc
build.mjs
1 parent 5fb81ae commit dda23c7Copy full SHA for dda23c7
1 file changed
build.mjs
@@ -81,6 +81,13 @@ const checkNodeVersionsPlugin = {
81
`More than one node version used in 'action.yml' files: ${JSON.stringify(nodeVersions)}`,
82
);
83
}
84
+
85
+ // Write the node version to `.nvmrc`.
86
+ writeFile(
87
+ join(__dirname, ".nvmrc"),
88
+ nodeVersion.substring("node".length) + "\n",
89
+ "utf-8",
90
+ );
91
});
92
},
93
};
0 commit comments