Skip to content

perf: improve coverage and fix vulnerabilities #13

perf: improve coverage and fix vulnerabilities

perf: improve coverage and fix vulnerabilities #13

Workflow file for this run

name: Run tests - ${{ github.event.head_commit.message }}

Check failure on line 1 in .github/workflows/autoUnitTest.yml

View workflow run for this annotation

GitHub Actions / Run tests - ${{ github.event.head_commit.message }}

Invalid workflow file

The workflow is not valid. .github/workflows/autoUnitTest.yml (Line: 1, Col: 7): Unrecognized named-value: 'github'. Located at position 1 within expression: github.event.head_commit.message
on:
push:
branches: [ cur-publish, master ]
pull_request:
branches: [ master, cur-publish ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 14.x, 16.x, 18.x, 20.x]
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm i
- name: Run Unit Tests
run: npm run ci
- name: Code Coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}