Skip to content

Commit

Permalink
fix: uses in node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
saisilinus committed Apr 18, 2022
1 parent eb8a75d commit 1b3e65b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,20 @@ jobs:

runs-on: ubuntu-latest

uses: ./.github/workflows/setUp.yml

steps:
- name: Run linting tests
uses: ./.github/workflows/setUp.yml
- run: yarn lint

run-unit-tests:

runs-on: ubuntu-latest

uses: ./.github/workflows/setUp.yml

steps:
- name: Run unit tests
uses: ./.github/workflows/setUp.yml
- run: yarn test

generate-coverage:
Expand All @@ -44,9 +46,10 @@ jobs:

needs: run-unit-tests

uses: ./.github/workflows/setUp.yml

steps:
- name: Generate coverage
uses: ./.github/workflows/setUp.yml
- run: yarn coverage:coveralls

send-coverage-to-coveralls:
Expand All @@ -55,8 +58,9 @@ jobs:

needs: generate-coverage

uses: coverallsapp/github-action@v1.1.2

steps:
- name: Publish to coveralls.io
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ github.token }}

0 comments on commit 1b3e65b

Please sign in to comment.