fix: Compilation error for nested repeated fields with useOptionals=all
#1904
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: Lint | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: install dependencies | |
run: yarn install | |
- name: Prepare Integration | |
run: ./integration/pbjs.sh | |
- name: Codegen | |
run: yarn proto2ts | |
# This will fail if any git-tracked file has changed | |
- name: Diff Output | |
run: git status && git diff --exit-code | |
- name: TypeScript | |
run: yarn tsc:check | |
env: | |
CI: true | |
- name: Prettier | |
run: yarn format:check | |
env: | |
CI: true |