From 4103ae9bc49e8c46e32b6f041a48c2be7d582cec Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Fri, 1 Jan 2021 18:06:28 +0700 Subject: [PATCH] Meta tweaks --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e2c6a1cb61..2976a26bf4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,12 +4,12 @@ on: - pull_request jobs: test: - name: Node.js ${{ matrix.node_version }} on ${{ matrix.os }} + name: Node.js ${{ matrix.node-version }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - node_version: + node-version: - 15 - 14 - 12 @@ -22,10 +22,10 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: ${{ matrix.node_version }} + node-version: ${{ matrix.node-version }} - run: npm install - run: npm test - uses: codecov/codecov-action@v1 - if: matrix.os == 'ubuntu-latest' && matrix.node_version == 14 + if: matrix.os == 'ubuntu-latest' && matrix.node-version == 14 with: fail_ci_if_error: true