Skip to content

Commit

Permalink
Refactor CI version
Browse files Browse the repository at this point in the history
Resolves

```
Input 'version' has been deprecated with message: The version property will not be supported after October 1, 2019. Use node-version instead
```
  • Loading branch information
ChristianMurphy authored and wooorm committed Nov 9, 2019
1 parent af821ce commit a7af6ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ on:
branches: [master]
jobs:
build-and-test:
name: '${{ matrix.platform }}: node.js ${{ matrix.nodejs-version }}'
name: '${{ matrix.platform }}: node.js ${{ matrix.node-version }}'
strategy:
matrix:
platform: [ubuntu-latest, windows-latest, macos-latest]
nodejs-version: [10, 12]
node-version: [10, 12]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up Node.js
uses: actions/setup-node@master
with:
version: ${{ matrix.nodejs-version }}
node-version: ${{ matrix.node-version }}
- name: Build and test
run: |
npm install
Expand Down

0 comments on commit a7af6ce

Please sign in to comment.