Skip to content

Commit

Permalink
Fixup github actions workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
fdintino committed Dec 27, 2020
1 parent de9dc67 commit 7601ff4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ name: Tests
on:
push:
branches:
- master
- develop
- '**'
pull_request:
branches:
- master
paths:
- '**/*.js'
- 'package.json'
- '**/*.njk'
- '**/*.yml'
- 'tests/**/*.html'

jobs:
tests:
Expand All @@ -32,11 +34,9 @@ jobs:
with:
path: node_modules
key: ${{ matrix.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ matrix.os }}-node-${{ matrix.node-version }}-
- run: npm install
if: steps.cache-node-modules.outputs.cache-hit != 'true'
- run: npm test
- name: Report coverage
if: success()
run: codecov/codecov-action@v1
uses: codecov/codecov-action@v1

0 comments on commit 7601ff4

Please sign in to comment.