fix bittensor chainType #62
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: | |
paths-ignore: | |
- ".github/workflows/**" | |
jobs: | |
pr: | |
name: pr | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
- name: setup workspace | |
run: cp .github/scripts/ci.package.json package.json | |
# Do this before yarn to avoid node_modules directory | |
- name: update tsconfigs for workspace | |
run: ./.github/scripts/copy-ts-config.sh | |
- run: yarn | |
- name: codegen | |
run: yarn codegen | |
- name: build | |
run: yarn build |