Skip to content

Commit

Permalink
Merge pull request #140 from GSA-TTS/103-update-node-version-in-build…
Browse files Browse the repository at this point in the history
…-test-workflow

103 update node version in build test workflow
  • Loading branch information
wesley-dean-gsa authored Aug 6, 2024
2 parents 7da7a17 + 49ff7c5 commit 4d7ab3e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # pin@v3
- name: Checkout repository
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # pin@v3

- name: Use Node
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # pin@v3
- name: Read .nvmrc
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
id: nvm

- name: Use Node.js (.nvmrc)
uses: actions/setup-node@v3
with:
node-version: '17.x'
node-version: "${{ steps.nvm.outputs.NVMRC }}"

- name: Install NPM dependencies
run: npm install
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.19.0

0 comments on commit 4d7ab3e

Please sign in to comment.