[actions] fix `latest-npm` tests so they use this repo’s nvm instead of the last published one

Jordan Harband 2022-12-22 15:27:46 -08:00
parent ac357c59ef
commit b86c91efe3
No known key found for this signature in database
GPG Key ID: 9F6A681E35EF8B56
1 changed files with 5 additions and 1 deletions

View File

@ -55,11 +55,15 @@ jobs:
registry.npmjs.org:443 registry.npmjs.org:443
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: ljharb/actions/node/install@main - uses: ljharb/actions/node/install@main
name: 'nvm install-latest-npm' name: 'install node'
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
skip-ls-check: true skip-ls-check: true
skip-install: true skip-install: true
skip-latest-npm: true
- run: npm --version
- run: '. ./nvm.sh ; nvm install-latest-npm'
name: 'nvm install-latest-npm'
- run: npm --version - run: npm --version
node: node: