Skip to content

Commit

Permalink
Merge pull request #35 from myanzik/coveralls-setup
Browse files Browse the repository at this point in the history
coveralls-setup
  • Loading branch information
myanzik authored Dec 6, 2021
2 parents 51890a8 + 599499d commit 293b3c0
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/coveralls-stage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Coveralls CI/CD
on:
push:
branches:
- stage
pull_request:
branches:
- stage
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install

coverage:
name: Coveralls
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn setup
- run: yarn run test
- uses: coverallsapp/github-action@stage
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 293b3c0

Please sign in to comment.