Update actions/setup-node to 2.4.1, fix matrix syntax

This commit is contained in:
David Humphrey 2021-10-19 16:58:00 -04:00
parent 621b6567e0
commit 9f8804f716
1 changed files with 3 additions and 3 deletions

View File

@ -16,12 +16,12 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
node: ['14', '16']
name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
name: Node ${{ matrix.node }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Test
uses: actions/setup-node@v2.1.5
uses: actions/setup-node@v2.4.1
with:
node-version: ${{ matrix.node-version }}
node-version: ${{ matrix.node }}
- run: npm install
- run: npm test