Skip to content

fix: sync package-lock.json and package.json #55

fix: sync package-lock.json and package.json

fix: sync package-lock.json and package.json #55

Workflow file for this run

name: CI
on:
push:
branches: [ master, develop, feature/**, chore/**, bugfix/**, hotfix/** ]
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: |
package.json
package-lock.json
- run: npm ci
- run: npm test
- name: Upload test coverage report
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage
flags: unittests # optional
name: Result with Node version ${{ matrix.node-version }}
fail_ci_if_error: true # optional (default = false)
verbose: false # optional (default = false)