Skip to content

Merge pull request #7 from single9/dependabot/npm_and_yarn/semver-6.3.1 #22

Merge pull request #7 from single9/dependabot/npm_and_yarn/semver-6.3.1

Merge pull request #7 from single9/dependabot/npm_and_yarn/semver-6.3.1 #22

Workflow file for this run

name: test
on:
push:
branches:
- main
- develop
- 'feature/*'
- 'fix/*'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x, 18.x]
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Run tests
run: npm run test:coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1