Skip to content

build: coverage file path #27

build: coverage file path

build: coverage file path #27

Workflow file for this run

name: Build and Package
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Run CI build
run: npm run ci:build
- name: Run CI tests
run: npm run ci:test
- name: Upload coverage report
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/angular-serial/lcov.info
- name: Publish Package
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPMJS_TOKEN }}
registry: 'https://registry.npmjs.org'