From fbb28590a711937230c1350719eb5f6c4e1df309 Mon Sep 17 00:00:00 2001 From: Robert Jackson Date: Tue, 21 Apr 2020 17:58:12 -0400 Subject: [PATCH] Use volta to pin Node and yarn versions. --- .github/workflows/ci-build.yml | 6 +++--- package.json | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index b8df7cadd..6fea8b1c9 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -16,7 +16,7 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: volta-cli@action@v1 with: node-version: 10.x - run: yarn install --frozen-lockfile @@ -29,7 +29,7 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: volta-cli@action@v1 with: node-version: 10.x - run: yarn install --no-lockfile @@ -57,7 +57,7 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: volta-cli@action@v1 with: node-version: 12.x - name: install dependencies diff --git a/package.json b/package.json index 1017b10da..522518562 100644 --- a/package.json +++ b/package.json @@ -115,5 +115,9 @@ "github": { "release": true } + }, + "volta": { + "node": "10.20.1", + "yarn": "1.22.4" } }