Skip to content

Commit

Permalink
Update CI to run on node 14 rather than 10 (keystonejs#4592)
Browse files Browse the repository at this point in the history
  • Loading branch information
timleslie authored Dec 21, 2020
1 parent cf28195 commit 145c766
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
fetch-depth: 0
persist-credentials: false

- name: Setup Node.js 10.x
- name: Setup Node.js 14.x
uses: actions/setup-node@master
with:
node-version: 10.x
node-version: 14.x

- name: Install Dependencies
# we have a postinstall script that uses is-ci which doesn't yet detect GitHub Actions
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ jobs:
uses: actions/checkout@v2
if: needs.should_run_tests.outputs.shouldRunTests == 'true'

- name: Setup Node.js 10.x
- name: Setup Node.js 14.x
uses: actions/setup-node@main
if: needs.should_run_tests.outputs.shouldRunTests == 'true'
with:
node-version: 10.x
node-version: 14.x

- name: Get yarn cache directory path
if: needs.should_run_tests.outputs.shouldRunTests == 'true'
Expand Down Expand Up @@ -114,11 +114,11 @@ jobs:
uses: actions/checkout@v2
if: needs.should_run_tests.outputs.shouldRunTests == 'true'

- name: Setup Node.js 10.x
- name: Setup Node.js 14.x
uses: actions/setup-node@main
if: needs.should_run_tests.outputs.shouldRunTests == 'true'
with:
node-version: 10.x
node-version: 14.x

- name: Get yarn cache directory path
if: needs.should_run_tests.outputs.shouldRunTests == 'true'
Expand Down Expand Up @@ -154,10 +154,10 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v2

- name: Setup Node.js 10.x
- name: Setup Node.js 14.x
uses: actions/setup-node@main
with:
node-version: 10.x
node-version: 14.x

- name: Get yarn cache directory path
id: yarn-cache-dir-path
Expand Down Expand Up @@ -212,11 +212,11 @@ jobs:
- name: Checkout Repo
if: needs.should_run_tests.outputs.shouldRunTests == 'true'
uses: actions/checkout@v2
- name: Setup Node.js 10.x
- name: Setup Node.js 14.x
uses: actions/setup-node@main
if: needs.should_run_tests.outputs.shouldRunTests == 'true'
with:
node-version: 10.x
node-version: 14.x

- name: Get yarn cache directory path
id: yarn-cache-dir-path
Expand Down

0 comments on commit 145c766

Please sign in to comment.