Skip to content

feat: Add Hummingbot plugin #1

feat: Add Hummingbot plugin

feat: Add Hummingbot plugin #1

Workflow file for this run

name: CI
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- name: Setup pnpm cache
uses: actions/cache@v3
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Clean install dependencies
run: |
pnpm install --frozen-lockfile
- name: Clean build artifacts
run: |
find . -type d -name "dist" -exec rm -rf {} +
find . -type f -name "tsconfig.tsbuildinfo" -exec rm -f {} +
- name: Build
run: pnpm run build
- name: Test
run: pnpm run test