Merge pull request #73 from 0chain/revert-71-changeset-release/main #64
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: CI | |
on: | |
push: | |
branches: | |
- "**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Action checkout | |
uses: actions/checkout@v4 | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Setting up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "lts/*" | |
cache: "yarn" | |
- name: Add Git submodule present at example/webapp | |
run: git submodule update --init --recursive | |
- name: Install dependencies | |
run: yarn install | |
- name: tsc Linting | |
working-directory: lib/js-sdk | |
run: yarn lint | |
- name: Build SDK dist/ | |
working-directory: lib/js-sdk | |
run: yarn build |