Skip to content

chore: version 0.4.1 #7

chore: version 0.4.1

chore: version 0.4.1 #7

Workflow file for this run

name: Build
on:
push:
branches: [ dev, master, hotfix/*, feature/*, release/* ]
jobs:
build:
name: Build package
runs-on: ubuntu-latest
steps:
- name: Cache dependencies
uses: actions/cache@v2
with:
path: '**/node_modules'
key: node-modules-${{ hashfiles('**/package-lock.json') }}
- name: Github checkout
uses: actions/checkout@v4
- name: Setup node.js environment
uses: actions/setup-node@v4
with:
node-version: '18.19.0'
registry-url: 'https://registry.npmjs.org'
- name: Install NPM dependencies
run: npm i [email protected] -g && npm i
- name: Compile Typescript files
run: tsc
- name: Execute units tests
run: npm run ci:coverage
- name: Publish to coveralls.io
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./reports/coverage/lcov.info