UNPKG

@halospv3/hce.shared-config

Version:

Automate commit message quality, changelogs, and CI/CD releases. Exports a semantic-release shareable configuration deserialized from this package's '.releaserc.yml'. Shared resources for .NET projects are also distributed with this package.

33 lines (28 loc) 750 B
# inspired by https://github.com/GitTools/GitVersion/blob/main/.github/workflows/_unit_tests.yml on: workflow_call: env: DOTNET_ROLL_FORWARD: "Major" jobs: unit_test: name: Unit Tests (${{ matrix.os }}) strategy: fail-fast: false matrix: os: [windows-latest, ubuntu-latest, macos-latest] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - uses: actions/setup-node@v4 with: cache: "npm" check-latest: true node-version-file: package.json - run: npm i -g npm@latest - run: npm ci - uses: actions/setup-dotnet@v4.3.1 with: dotnet-version: "8.x" - run: dotnet test