Skip to content

feat(ci/cd): add coverage test to actions #2

feat(ci/cd): add coverage test to actions

feat(ci/cd): add coverage test to actions #2

Workflow file for this run

on:
push:
tags:
- '*'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@4
- uses: actions/setup-node@v3
with:
node-version: 'lts'
- run: npm ci
- run: npm run lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@4
- uses: actions/setup-node@v3
with:
node-version: 'lts'
- run: npm ci
- run: npm run test:coverage
- uses: actions/upload-artifact@v4
with:
name: code-coverage-report
path: coverage/**/*