feat: adding prometheus metrics and tracing #292
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: Svelte | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["**"] | |
types: [opened, synchronize] | |
paths: | |
- "client/**" | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build and Check Client | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./client/ | |
strategy: | |
matrix: | |
node-version: [16.x, 18.x] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: npm ci | |
- name: Check Styling | |
run: npm run lint | |
- name: Build | |
run: npm run build:ci | |
# - name: Run tests | |
# run: npm test |