Instrumenting SDKs with open telemetry #294
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Workflow | |
env: | |
CI: true | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Enable node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- uses: pnpm/action-setup@v2 | |
name: Install pnpm | |
with: | |
version: 8 | |
- name: Cache .pnpm-store | |
uses: actions/cache@v3 | |
with: | |
path: ~/.pnpm-store | |
key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }} | |
- name: Disable verify-store-integrity | |
run: | | |
pnpm set verify-store-integrity false | |
- name: pnpm install | |
run: | | |
pnpm install --frozen-lockfile | |
- name: Build packages | |
run: pnpm tsc -b | |
- name: Lint, build and test | |
run: pnpm nx run-many --target build,lint,test,package --all --exclude examples-dotnet-api |