Skip to content

Update dependency typescript to v5.5.2 #146

Update dependency typescript to v5.5.2

Update dependency typescript to v5.5.2 #146

Workflow file for this run

# This workflow will do a clean install of node dependencies and run tests
name: coverage
on:
push:
branches:
- '**'
pull_request:
branches:
- main
- develop
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: write
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
# cache-dependency-path: pnpm-lock.yaml
- run: pnpm install --frozen-lockfile
- run: pnpm test
# Coverage badges will be updated on any branch except protected
# branches 'develop' and 'main' and on a pull requests
- name: Test angular action
uses: emibcn/clover-coverage-badges-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# coverage-summary-path: './coverage/coverage-summary.json'
protected-branches: '["main", "develop"]'
badges-directory: './.github/badges'
coverage:
needs: [test]
name: coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '16'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- uses: paambaati/codeclimate-action@v5.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: pnpm test
codecov:
needs: [test]
name: codecov
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Set up Node 18
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run tests and collect coverage
run: pnpm test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
coveralls:
needs: [test]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Set up Node 18
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run tests and collect coverage
run: pnpm test
- name: Coveralls
uses: coverallsapp/github-action@v2