feat: allow collectors to incrementally emit #2387
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: CI workflows | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "packages/**" | |
- "apps/**" | |
- "services/**" | |
- "typedoc.json" | |
pull_request: | |
jobs: | |
ci-workflow: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
name: Install pnpm | |
id: pnpm-install | |
with: | |
version: 8.6.3 | |
run_install: false | |
- name: Get pnpm store directory | |
id: pnpm-cache | |
shell: bash | |
run: | | |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT | |
- uses: actions/cache@v3 | |
name: Setup pnpm cache | |
with: | |
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} | |
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-pnpm-store- | |
- name: Set up Node v16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
- name: Install dependencies | |
run: pnpm install -r | |
- name: Run TypeScript Compiler | |
run: pnpm run build | |
- name: Run linter | |
run: pnpm run lint | |
- name: Run Prettier | |
run: pnpm run prettier:check | |
# - name: Run tests | |
# run: pnpm run test |