feat(node): new unified code snippet for both the webhook and metrics #1551
Workflow file for this run
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: dotnet | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
integration: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- run: npm ci --ignore-scripts | |
- run: make test-metrics-dotnet | |
- run: make test-webhooks-dotnet | |
- name: Cleanup | |
if: always() | |
run: docker-compose down | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: packages/dotnet | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-dotnet@v3 | |
# with: | |
# dotnet-version: '3.1.x' # SDK Version to use; x will use the latest version of the 3.1 channel | |
- run: make build |