Skip to content

fix: specify full time for dates in tests #18

fix: specify full time for dates in tests

fix: specify full time for dates in tests #18

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm install && npm install -g @angular/cli
- name: Run lint
run: npm run lint
- name: Run tests
run: npm run test:coverage:ci
- name: Upload code coverage to Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
coveralls-token: ${{ secrets.COVERALLS_REPO_TOKEN }}
path-to-lcov: ./coverage/lcov.info
- name: Publish package
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: npm run publish