fix: set vatNumber as nullish #1039
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
# This workflow will perform the code review on each code change. | |
# It uses "actions/cache" and turborepo in order to perform tasks only on changed files. | |
name: "Code Review" | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
- apps/** | |
- packages/** | |
pull_request: | |
types: [opened, synchronize] | |
paths: | |
- apps/** | |
- packages/** | |
workflow_dispatch: {} | |
jobs: | |
code_review: | |
timeout-minutes: 10 # temp fix | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: ".node-version" | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Cache turbo build setup | |
uses: actions/cache@v3 | |
with: | |
path: node_modules/.cache/turbo | |
key: ${{ runner.os }}-turbo-${{ github.sha }} | |
restore-keys: | | |
${{ runner.os }}-turbo- | |
- name: "Generate API models" | |
run: yarn workspaces foreach --all run generate:api-models | |
- name: "Code review" | |
run: yarn run code-review |