feat: teritorid 2.x support #4355
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: Codegen | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
check-codegen: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: "yarn" | |
node-version: 18 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: "1.19" | |
- uses: bufbuild/[email protected] | |
with: | |
version: 1.28.0 | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install node modules | |
run: yarn | |
- uses: webfactory/[email protected] | |
with: | |
ssh-private-key: | | |
${{ secrets.NFTS_DEPLOY_KEY }} | |
${{ secrets.VAULT_DEPLOY_KEY }} | |
${{ secrets.FOOTER_DEPLOY_KEY }} | |
${{ secrets.TNS_DEPLOY_KEY }} | |
- name: Regenerate | |
run: make generate | |
- name: Debug | |
run: ls packages/api/weshnet | |
- name: Check diff | |
run: git diff --exit-code |