From 67984b0080d453d87ba32c6e258fe0f1fa229f29 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Mon, 6 Apr 2020 12:41:11 +0100 Subject: [PATCH] Switched to using built-in Node.js for tests no issue - setup-node was randomly failing to download because of an upstream Node issue - this commit switches to using the build in Node version --- .github/workflows/test.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ed33ec0d9..307a203b2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,3 +1,11 @@ +# This test uses a single version of Node.js, the one installed by +# default on GitHub Actions. You can see this here: +# +# https://github.com/actions/virtual-environments/blob/master/images/linux/Ubuntu1804-README.md +# +# They may update it when a new LTS is released, so it's important +# to keep this in mind. + name: Test Suite on: pull_request: @@ -19,9 +27,6 @@ jobs: CI: true steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: 10 - run: yarn - run: yarn lint:js - run: yarn test