Skip to content

Commit

Permalink
build: install Node.js with actions/setup-node@v3
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Feb 23, 2023
1 parent bdbb5ac commit 0db98e1
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,9 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Install Node.js ${{ matrix.node-version }}
shell: bash -eo pipefail -l {0}
run: |
nvm install --default ${{ matrix.node-version }}
dirname "$(nvm which ${{ matrix.node-version }})" >> "$GITHUB_PATH"
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Configure npm
run: |
Expand Down

0 comments on commit 0db98e1

Please sign in to comment.