Skip to content

chore: setup pipelines #2

chore: setup pipelines

chore: setup pipelines #2

name: "Lint and build SDK Manager"
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- 'packages/sdk-manager/**'
- '!packages/widget/**'
- '!packages/wallet-manager/**'
- '!packages/react/**'
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]
node: [18]
fail-fast: true
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: 'yarn' # cache node modules
node-version: ${{ matrix.node }}
- run: corepack enable
- run: yarn set version stable
- run: yarn
- run: yarn run lint:sdk-manager # lint code
- run: yarn run build:wallet-manager # build wallet-manager
- run: yarn run build:sdk-manager # build widget