Skip to content

Add upload Test Coverage #15

Add upload Test Coverage

Add upload Test Coverage #15

Workflow file for this run

name: Test
on:
push:
branches: [ test ]
pull_request:
branches: [ test ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm run test:ci
- name: Upload test coverage
uses: actions/upload-artifact@v2
with:
name: test-coverage
path: ./out/**/*
retention-days: 14