Skip to content

Commit c77aeed

Browse files
committed
chore: fix node.js matrix in workflow (made with screpto)
1 parent bc8e8c2 commit c77aeed

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/node-ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,18 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
node: ['12', '13']
15-
name: "[v${{ matrix.node }}] prepare"
14+
node-version: ['12', '14']
15+
name: "[v${{ matrix.node-version }}] prepare"
1616

1717
steps:
1818
- name: Checkout code
1919
uses: actions/checkout@v1
2020

21+
- name: Use Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v1
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
2126
- name: Install dependencies
2227
run: |
2328
npm ci

0 commit comments

Comments
 (0)