Skip to content

chore(deps): bump wagoid/commitlint-github-action from 5 to 6 #28

chore(deps): bump wagoid/commitlint-github-action from 5 to 6

chore(deps): bump wagoid/commitlint-github-action from 5 to 6 #28

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
env:
TURBO_API: ${{ vars.TURBO_API }}
TURBO_TEAM: team_ducktors
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: macos-latest
name: Test
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run tests
run: pnpm turbo test:coverage
- name: Copy c8 json coverage report
run: |
mkdir -p coverage/tmp
cp -r ./packages/*/coverage/tmp/. coverage/tmp
- name: Merge json coverage reports
run: pnpm dlx c8 report --reporter lcov --reporter text --extension ts
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage/lcov.info
- name: CodeClimate
continue-on-error: true
uses: paambaati/codeclimate-action@v5.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_TEST_REPORTER_ID }}