mirror of https://github.com/nodejs/corepack.git
Pin exact Node.js version number
This commit is contained in:
parent
edcf0400dd
commit
dd72a68061
|
|
@ -40,23 +40,23 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
node:
|
node:
|
||||||
- 14
|
- "v14.19.2"
|
||||||
platform:
|
platform:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
- macos-latest
|
- macos-latest
|
||||||
- windows-latest
|
- windows-latest
|
||||||
|
|
||||||
name: "${{matrix.platform}} w/ Node.js ${{matrix.node}}.x"
|
name: "${{matrix.platform}} w/ Node.js 14.x"
|
||||||
runs-on: ${{matrix.platform}}
|
runs-on: ${{matrix.platform}}
|
||||||
needs: chore
|
needs: chore
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: "Use Node.js ${{matrix.node}}.x"
|
- name: "Use Node.js ${{matrix.node}}"
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{matrix.node}}.x
|
node-version: ${{matrix.node}}
|
||||||
|
|
||||||
- run: corepack yarn install --immutable
|
- run: corepack yarn install --immutable
|
||||||
- run: corepack yarn build # We need the stubs to run the tests
|
- run: corepack yarn build # We need the stubs to run the tests
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue