Skip to content

chore(stable): generate latest types & add types for instances - 02.07.2024 #3034

chore(stable): generate latest types & add types for instances - 02.07.2024

chore(stable): generate latest types & add types for instances - 02.07.2024 #3034

Workflow file for this run

name: Code Generation
on:
pull_request:
branches:
- master
types: [opened, edited, synchronize, reopened]
jobs:
stable:
runs-on: ubuntu-latest
strategy:
matrix:
package: ['stable']
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: configure node js
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Run code generation for ${{ matrix.package }} package
run: yarn codegen --package=${{ matrix.package }} generate-types
- name: Identify changed files
id: changed_files
run: echo "::set-output name=changed::$(git status --porcelain | wc -l)"
- name: Files related to code generation was altered
if: steps.changed_files.outputs.changed != 0
run: echo "fix this by running 'yarn codegen --package=${{ matrix.package }} generate-types'" && exit 1