Skip to content

Version and Release Packages (#314) #222

Version and Release Packages (#314)

Version and Release Packages (#314) #222

Workflow file for this run

name: Unit Tests
on:
push:
workflow_dispatch:
permissions:
contents: read
pull-requests: read
checks: write
statuses: write
actions: write
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm install
- name: Build packages
run: pnpm run build:packages
- name: Collect code coverage and upload to CodeClimate
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: pnpm run coverage
coverageLocations: |
${{github.workspace}}/coverage/lcov.info:lcov