fix: pubsub subscriber topic not set #814
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: PR | |
on: | |
pull_request: | |
branches: | |
- main | |
# Cancel previously running workflows | |
concurrency: | |
group: pr-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
install: | |
name: Install dependencies | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
- name: Download dependencies | |
uses: bahmutov/npm-install@v1 | |
build: | |
name: Build | |
needs: [install] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
- name: Download dependencies | |
uses: bahmutov/npm-install@v1 | |
- name: Build all packages | |
run: npm run build | |
lint: | |
name: Lint | |
needs: [install] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Biome | |
uses: biomejs/setup-biome@v2 | |
- name: Check linting, formatting, and imports | |
run: biome ci | |
typecheck: | |
name: Type check | |
runs-on: ubuntu-latest | |
needs: [install] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
- name: Download dependencies | |
uses: bahmutov/npm-install@v1 | |
- name: Run linting | |
run: npm run typecheck | |
test: | |
name: Test | |
needs: [install] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
- name: Download dependencies | |
uses: bahmutov/npm-install@v1 | |
- name: Run tests | |
run: npm run test |