Skip to content

Merge pull request #451 from ducktors/dependabot/github_actions/cover… #709

Merge pull request #451 from ducktors/dependabot/github_actions/cover…

Merge pull request #451 from ducktors/dependabot/github_actions/cover… #709

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: read-all
jobs:
test:
runs-on: ubuntu-latest
name: Coverage
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
name: Checkout
- name: Use Node.js
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: 20
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
name: Install pnpm
with:
version: 8
- name: Install with pnpm
run: pnpm install
- name: Run tests with coverage
run: pnpm test:coverage
- name: Coveralls
uses: coverallsapp/github-action@4cdef0b2dbe0c9aa26bed48edb868db738625e79 # master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: CodeClimate
continue-on-error: true
uses: paambaati/codeclimate-action@f429536ee076d758a24705203199548125a28ca7 # v9.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_TEST_REPORTER_ID }}
with:
coverageLocations: ${{github.workspace}}/coverage/lcov.info:lcov