Pin exact Node.js version number

This commit is contained in:
Antoine du Hamel 2022-05-04 23:54:20 +02:00
parent edcf0400dd
commit dd72a68061
1 changed files with 4 additions and 4 deletions

View File

@ -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