sync: main to staging #9005
This file contains hidden or 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: Tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - staging | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/* | |
| cache: 'yarn' | |
| cache-dependency-path: yarn.lock | |
| - name: Fetch submodule | |
| run: git submodule update --init --recursive | |
| - name: Install dependencies | |
| run: YARN_ENABLE_SCRIPTS=false yarn install --immutable | |
| - name: Generate cosmjs types | |
| run: yarn run codegen | |
| working-directory: ./packages/client | |
| - name: Test | |
| run: yarn run test | |
| working-directory: ./packages/client |