mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
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
This commit is contained in:
parent
40f2b11524
commit
4f8e9b9bd8
11
ghost/admin/.github/workflows/test.yml
vendored
11
ghost/admin/.github/workflows/test.yml
vendored
@ -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
|
name: Test Suite
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
@ -19,9 +27,6 @@ jobs:
|
|||||||
CI: true
|
CI: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: 10
|
|
||||||
- run: yarn
|
- run: yarn
|
||||||
- run: yarn lint:js
|
- run: yarn lint:js
|
||||||
- run: yarn test
|
- run: yarn test
|
||||||
|
Loading…
Reference in New Issue
Block a user