Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrodger committed Nov 8, 2024
1 parent d99629a commit db6fc5d
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,24 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm i
- run: npm run build --if-present
- run: npm test

- name: Coveralls
uses: coverallsapp/github-action@master
- name: test22
if: matrix['node-version'] == '22.x'
run: npm run test22

- name: test
if: matrix['node-version'] == '20.x' || matrix['node-version'] == '=18.x'
run: npm run test

- name: test-cov
if: matrix['node-version'] == '22.x' && matrix['os'] == 'ubuntu-latest'
run: npm run test-cov

- name: coveralls
if: matrix['node-version'] == '22.x' && matrix['os'] == 'ubuntu-latest'
uses: coverallsapp/github-action@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage/lcov.info

0 comments on commit db6fc5d

Please sign in to comment.