Skip to content

Commit

Permalink
ci(github): update
Browse files Browse the repository at this point in the history
  • Loading branch information
unadlib committed Sep 28, 2024
1 parent 07af727 commit dde4412
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on: ["pull_request"]

name: Test Coveralls

jobs:

build:
name: Build
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v1

- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 18.x

- name: yarn install, yarn test:coverage
run: |
yarn install
echo repo_token: ${{ secrets.COVERALLS_REPO_TOKEN }} > .coveralls.yml
yarn test:coverage
- name: Coveralls
uses: romeovs/[email protected]
with:
lcov-file: ./coverage/lcov.info
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on: ["push", "pull_request"]
on: ["push"]

name: Test Coveralls

Expand Down

0 comments on commit dde4412

Please sign in to comment.