From 4f8e9b9bd8ca61c81b7d9c7665d336c62c673fd6 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 --- ghost/admin/.github/workflows/test.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/ghost/admin/.github/workflows/test.yml b/ghost/admin/.github/workflows/test.yml index ed33ec0d9b..307a203b24 100644 --- a/ghost/admin/.github/workflows/test.yml +++ b/ghost/admin/.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