mtcute/.github/actions/init/action.yml

20 lines
466 B
YAML
Raw Normal View History

2023-11-29 20:31:18 +03:00
inputs:
node-version:
default: '18.x'
runs:
using: 'composite'
steps:
- name: Use Node.js ${{ inputs.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ inputs.node-version }}
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
2024-05-06 18:44:11 +03:00
version: '9.0.6'
2023-11-29 20:31:18 +03:00
- run: pnpm install --frozen-lockfile
shell: bash
- name: 'TL codegen'
run: pnpm -C packages/tl run gen-code
shell: bash