Skip to content

Commit

Permalink
chore: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
olaviolacerda committed Mar 1, 2024
1 parent e541fa1 commit 77461fd
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
name: Test Coveralls

on: ["push", "pull_request"]
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

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

steps:

- uses: actions/checkout@v2
- uses: actions/checkout@v3

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

- name: Install dependencies
run: npm ci

- name: Run coverage
run: npm run test:cov

- run: npm ci
- run: npm run build --if-present
- run: npm run test:cov

- name: Coveralls
uses: coverallsapp/[email protected]

0 comments on commit 77461fd

Please sign in to comment.