We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9260f11 commit af178b8Copy full SHA for af178b8
.github/workflows/node.js.yml
@@ -89,9 +89,9 @@ jobs:
89
# [1]: https://docs.npmjs.com/cli/v10/commands/npm-ci
90
# [2]: https://blog.npmjs.org/post/171556855892/introducing-npm-ci-for-faster-more-reliable
91
#if: steps.npm-version.outputs.major >= 6
92
- if: steps.lockfile-version.outputs.version != null
+ if: steps.lockfile-version.outputs.version != null && steps.npm-version.outputs.major >= 5
93
94
- run: npm install
95
- if: steps.lockfile-version.outputs.version == null
+ if: steps.lockfile-version.outputs.version == null || steps.npm-version.outputs.major < 5
96
97
- run: npm test
0 commit comments