Skip to content

4.0.1

4.0.1 #28

Workflow file for this run

name: CI/CD
on: [push, pull_request]
jobs:
test:
name: Test with Node v${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 18 ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm test
- name: Publish coverage report
if: github.ref == 'refs/heads/main'
run: npm run publish-coverage
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}