Skip to content

Commit

Permalink
Update workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhanson committed Nov 22, 2024
1 parent de5b1ab commit dd7cef7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ jobs:
N_MINOR: ${{steps.npm-version.outputs.minor}}
run: echo "npm - $N_MAJOR $N_MINOR"

- id: lockfile-version
name: Get package-lock.json lockfileVersion
run: echo "version=$(cat package-lock.json | jq '.lockfileVersion')" >> $GITHUB_OUTPUT

- env:
N_MAJOR: ${{steps.lockfile-version.outputs.version}}
run: echo "lockfile - $N_MAJOR"

- run: npm ci
# The [`ci`][1] command was [introduced][2] with npm 6.x, and is intended
# to be used in continuous integration environments. If npm 6.x or later
Expand Down

0 comments on commit dd7cef7

Please sign in to comment.