We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b36c63a commit 7b56b6fCopy full SHA for 7b56b6f
lib/github-actions/index.js
@@ -12,6 +12,10 @@ internals.parseActionsSetupNode = function * (workflow, file) {
12
13
for (const job of Object.values(workflow.jobs)) {
14
15
+ if (!job.steps) {
16
+ continue;
17
+ }
18
+
19
const nodeSteps = job.steps.filter(({ uses }) => uses && uses.startsWith('actions/setup-node'));
20
for (const step of nodeSteps) {
21
const nodeVersion = step.with && step.with['node-version'];
@@ -82,6 +86,10 @@ internals.parseLjharbActions = function * (workflow, file) {
82
86
83
87
84
88
89
90
91
92
85
93
const nodeSteps = job.steps.filter(({ uses }) => {
94
95
if (!uses) {
0 commit comments