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 8e25e4d commit 2f76ef3
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 @@ -32,9 +32,17 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- id: node-version
uses: apexskier/github-semver-parse@v1
with:
version: ${{ steps.setup-node.outputs.ode-version }}
- env:
N_VERSION: ${{steps.setup-node.outputs.node-version}}
run: echo "$N_VERSION"
- env:
N_MAJOR: ${{steps.node-version.outputs.major}}
N_MINOR: ${{steps.node-version.outputs.major}}
run: echo "$N_MAJOR $N_MINOR"
- run: npm ci
if: matrix.node-version >= '16'
- run: npm install
Expand Down

0 comments on commit 2f76ef3

Please sign in to comment.