Skip to content

Commit

Permalink
ci(ci): use node-version for node matrix key
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed May 17, 2022
1 parent bcff76c commit 51d4cef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,17 @@ jobs:
if: github.event.pull_request.draft == false
strategy:
matrix:
node: [12, 14, 16]
node-version: [12, 14, 16]
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repo
uses: actions/checkout@v3

- name: Setup Node ${{ matrix.node }}
- name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
node-version: ${{ matrix.node-version }}

- name: Install
run: npm i --ignore-scripts
Expand All @@ -111,7 +111,7 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true
flag-name: run-${{ matrix.node }}-${{ matrix.os }}
flag-name: run-${{ matrix.node-version }}-${{ matrix.os }}

coverage:
name: Aggregate Coverage Calculations
Expand Down

0 comments on commit 51d4cef

Please sign in to comment.