Skip to content
This repository has been archived by the owner on Nov 29, 2020. It is now read-only.

Commit

Permalink
Fixed typos in pipeline and cache-keys
Browse files Browse the repository at this point in the history
  • Loading branch information
prefixaut committed Nov 28, 2019
1 parent 8fcabbb commit 9bc3871
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ jobs:
path: node_modules
key: ${{ matrix.os.name }}-node-${{ matrix.node}}-build-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ matrix.os.name }}-node-${{ matrix.node}}-build-${{ env.cache-name }}-
${{ matrix.os.name }}-node-${{ matrix.node}}-build-
${{ matrix.os.name }}-node-${{ matrix.node}}-build-${{ hashFiles('**/yarn.lock') }}
${{ matrix.os.name }}-node-${{ matrix.node}}-
- name: Use Node.js ${{ matrix.node }}
Expand All @@ -38,16 +37,16 @@ jobs:
- name: Install packages via yarn
run: yarn --non-interactive --frozen-lockfile

- name: Unit Tests & Code Coverage (Unix & Mac)
if: matrix.os != 'windows-latest'
- name: Unit Tests & Code Coverage (Linux & Mac)
if: matrix.os.id != 'windows-latest'
uses: paambaati/codeclimate-action@v2.3.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: yarn test:unit:coverage

- name: Unit Test & Code Coverafe (Windows)
if: matrix.os == 'windows-latest'
- name: Unit Test & Code Coverage (Windows)
if: matrix.os.id == 'windows-latest'
run: yarn test:unit:coverage

build:
Expand Down Expand Up @@ -80,8 +79,7 @@ jobs:
path: node_modules
key: ${{ matrix.os.name }}-node-${{ matrix.node}}-build-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ matrix.os.name }}-node-${{ matrix.node}}-build-${{ env.cache-name }}-
${{ matrix.os.name }}-node-${{ matrix.node}}-build-
${{ matrix.os.name }}-node-${{ matrix.node}}-build-${{ hashFiles('**/yarn.lock') }}
${{ matrix.os.name }}-node-${{ matrix.node}}-
- name: Use Node.js ${{ matrix.node }}
Expand Down

0 comments on commit 9bc3871

Please sign in to comment.