Skip to content

Merge 4.x to master (#46) #25

Merge 4.x to master (#46)

Merge 4.x to master (#46) #25

Workflow file for this run

name: Testing
on:
push:
branches: [ master, 4.x ]
pull_request:
branches: [ master, 4.x ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.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'
- name: Install dependencies
run: npm install
- name: Run tests and collect coverage
run: npm run coverage
- name: List coverage directory
run: ls -l coverage/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/
verbose: true