Skip to content

Merge pull request #75 from 0chain/fix/publish-gha #67

Merge pull request #75 from 0chain/fix/publish-gha

Merge pull request #75 from 0chain/fix/publish-gha #67

Workflow file for this run

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