Skip to content

Commit

Permalink
addded names to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
dopecodez committed Nov 27, 2020
1 parent 76d7a5a commit 19d5ada
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/contributors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: contributors
on:
push:
branches:
- master
jobs:
contrib-readme-job:
runs-on: ubuntu-latest
name: A job to automate contrib in readme
steps:
- name: Contribute List
uses: akhilmhdh/contributors-readme-action@v2.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16 changes: 5 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: build
on:
push:
branches:
Expand All @@ -8,21 +9,14 @@ on:
- src/*
- test/*
- '*.json'
- yarn.lock
- package.lock
- .github/*
pull_request:
paths:
- '!*.MD'

jobs:
contrib-readme-job:
runs-on: ubuntu-latest
name: A job to automate contrib in readme
steps:
- name: Contribute List
uses: akhilmhdh/contributors-readme-action@v2.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
test:
build:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
Expand All @@ -40,7 +34,7 @@ jobs:
- run: npm install
- run: npm test
coverage:
needs: [ test ]
needs: [ build ]
name: coverage
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 19d5ada

Please sign in to comment.